Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9303/0.9303, allocations: 158.6 MB / 186 MB, free: 2.484 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.179/0.179, allocations: 32.37 MB / 270.7 MB, free: 14.57 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.71e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1747/0.1747, allocations: 9.747 MB / 308.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009916/0.1846, allocations: 3.82 MB / 312.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003903/0.1885, allocations: 66.53 kB / 312.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005856/0.1944, allocations: 2.089 MB / 314.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006205/0.2006, allocations: 1.772 MB / 316.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.2021, allocations: 0.6787 MB / 317.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004687/0.2068, allocations: 3.701 MB / 321 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.2089, allocations: 2.544 MB / 323.5 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.2109, allocations: 1.96 MB / 325.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.2127, allocations: 1.761 MB / 327.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.213, allocations: 260 kB / 327.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.2142, allocations: 0.971 MB / 328.4 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.2153, allocations: 1.699 MB / 330.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008488/0.2161, allocations: 1.051 MB / 331.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.219, allocations: 3.853 MB / 335 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2191, allocations: 8 kB / 335.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2191, allocations: 0 / 335.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.12e-05/0.2191, allocations: 0 / 335.1 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.003336/0.2224, allocations: 3.77 MB / 338.8 MB, free: 6.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.2225, allocations: 12.03 kB / 338.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.2245, allocations: 0.9372 MB / 339.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.2261, allocations: 1.492 MB / 341.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/0.2262, allocations: 193.1 kB / 341.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.2265, allocations: 260.2 kB / 341.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/0.2305, allocations: 4.235 MB / 345.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.561e-05/0.2306, allocations: 45.64 kB / 346 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.2308, allocations: 127.9 kB / 346.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001199/0.232, allocations: 1.461 MB / 347.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/0.2351, allocations: 2.101 MB / 349.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/0.2554, allocations: 27.43 MB / 377.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.2578, allocations: 1.292 MB / 378.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.2581, allocations: 264.9 kB / 378.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003659/0.2618, allocations: 3.008 MB / 381.7 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.2618, allocations: 39.06 kB / 381.7 MB, free: 9.539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=103): time 2.896e-06/0.2618, allocations: 0 / 381.7 MB, free: 9.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.005369/0.2672, allocations: 2.681 MB / 384.4 MB, free: 6.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.2673, allocations: 166.7 kB / 384.5 MB, free: 6.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.2693, allocations: 2.915 MB / 387.5 MB, free: 3.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.2693, allocations: 37.7 kB / 387.5 MB, free: 3.645 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.2707, allocations: 2.766 MB / 390.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.2709, allocations: 456.7 kB / 390.7 MB, free: 408 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007597/0.2717, allocations: 1.021 MB / 391.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.2717, allocations: 301.1 kB / 392 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008041/0.2725, allocations: 0.6152 MB / 392.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.2752, allocations: 4.038 MB / 396.7 MB, free: 8.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004058/0.2793, allocations: 5.109 MB / 401.8 MB, free: 1.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.954e-05/0.2793, allocations: 36 kB / 401.8 MB, free: 1.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.00382/0.2831, allocations: 3.591 MB / 405.4 MB, free: 14.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.2832, allocations: 60 kB / 405.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.203e-05/0.2833, allocations: 131.8 kB / 405.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001043/0.2834, allocations: 164 kB / 405.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.2855, allocations: 1.216 MB / 407 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001163/0.2856, allocations: 247 kB / 407.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.2873, allocations: 240.2 kB / 407.4 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.2875, allocations: 292 kB / 407.7 MB, free: 11.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (667): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008816/0.2884, allocations: 0.5678 MB / 408.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.2887, allocations: 167.8 kB / 408.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.2892, allocations: 0.513 MB / 409 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.2893, allocations: 12 kB / 409 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2893, allocations: 4 kB / 409 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2893, allocations: 8.016 kB / 409 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.2921, allocations: 2.214 MB / 411.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2921, allocations: 0 / 411.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.2924, allocations: 123.8 kB / 411.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.2926, allocations: 43.8 kB / 411.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.2926, allocations: 20 kB / 411.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009713/0.2936, allocations: 1.406 MB / 412.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2936, allocations: 4 kB / 412.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.2949, allocations: 1.231 MB / 414 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.2952, allocations: 321.9 kB / 414.3 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.2954, allocations: 23.56 kB / 414.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.2958, allocations: 24.12 kB / 414.4 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.2958, allocations: 47.89 kB / 414.4 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.2959, allocations: 28 kB / 414.5 MB, free: 4.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008777/0.2968, allocations: 1.044 MB / 415.5 MB, free: 3.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2968, allocations: 0 / 415.5 MB, free: 3.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002504/0.2993, allocations: 0.8046 MB / 416.3 MB, free: 2.945 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002923/0.2996, allocations: 152.1 kB / 416.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.3014, allocations: 1.944 MB / 418.4 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001303/0.3016, allocations: 92.16 kB / 418.5 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.302, allocations: 340.3 kB / 418.8 MB, free: 424 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.3032, allocations: 0.4936 MB / 419.3 MB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/0.3096, allocations: 5.78 MB / 425.1 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/0.3103, allocations: 0.9899 MB / 426.1 MB, free: 9.043 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000897/0.3112, allocations: 427.1 kB / 426.5 MB, free: 8.621 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/0.3118, allocations: 477.2 kB / 427 MB, free: 8.152 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3118, allocations: 0 / 427 MB, free: 8.152 MB / 394.7 MB Notification: Performance of Templates: time 0.05015/0.3619, allocations: 22.36 MB / 449.3 MB, free: 1.902 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9174117650836706]