Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00252/0.00252, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00283/0.00283, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4244/0.4244, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.66e-05, allocations: 6.25 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.02116/0.0212, allocations: 14.12 MB / 391.3 MB, free: 4.703 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.03413, allocations: 4.91 MB / 396.3 MB, free: 15.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.03694, allocations: 127.3 kB / 396.4 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01061/0.04755, allocations: 4.451 MB / 400.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008477/0.05602, allocations: 2.461 MB / 403.3 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.05957, allocations: 1.185 MB / 404.5 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0139/0.07347, allocations: 8.236 MB / 412.7 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009094/0.08256, allocations: 4.962 MB / 417.7 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008107/0.09067, allocations: 3.528 MB / 421.2 MB, free: 6.711 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007148/0.09782, allocations: 3.531 MB / 424.7 MB, free: 3.172 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.09962, allocations: 0.5 MB / 425.2 MB, free: 2.672 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003738/0.1034, allocations: 1.334 MB / 426.6 MB, free: 1.336 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004045/0.1074, allocations: 2.957 MB / 429.5 MB, free: 14.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004233/0.1116, allocations: 1.877 MB / 431.4 MB, free: 12.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.1263, allocations: 9.977 MB / 441.4 MB, free: 2.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1263, allocations: 4 kB / 441.4 MB, free: 2.477 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1263, allocations: 4 kB / 441.4 MB, free: 2.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002989/0.1266, allocations: 0 / 441.4 MB, free: 2.473 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.1551/0.2817, allocations: 8.123 MB / 449.5 MB, free: 97.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2817, allocations: 8.906 kB / 449.5 MB, free: 97.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0286/0.3103, allocations: 3.966 MB / 453.5 MB, free: 96.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.3211, allocations: 4.051 MB / 457.5 MB, free: 95.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.3213, allocations: 329.1 kB / 457.9 MB, free: 95.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.3224, allocations: 442.4 kB / 458.3 MB, free: 95.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01645/0.3389, allocations: 8.628 MB / 466.9 MB, free: 89.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001817/0.3391, allocations: 65.36 kB / 467 MB, free: 89.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005231/0.3396, allocations: 206.3 kB / 467.2 MB, free: 89.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004121/0.3437, allocations: 2.53 MB / 469.7 MB, free: 89.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.3589, allocations: 4.853 MB / 474.6 MB, free: 88.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06454/0.4235, allocations: 60.95 MB / 0.523 GB, free: 33.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.4336, allocations: 2.859 MB / 0.5258 GB, free: 30.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.4355, allocations: 1.018 MB / 0.5267 GB, free: 29.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004574/0.436, allocations: 233.6 kB / 0.527 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.436, allocations: 59.39 kB / 0.527 GB, free: 29.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 5.23e-06/0.436, allocations: 0 / 0.527 GB, free: 29.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=315): time 0.07984/0.5159, allocations: 24.93 MB / 0.5514 GB, free: 4.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.5159, allocations: 265.3 kB / 0.5516 GB, free: 4.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007953/0.5239, allocations: 5.516 MB / 0.557 GB, free: 14.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00106/0.525, allocations: 69.7 kB / 0.5571 GB, free: 14.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005001/0.53, allocations: 4.481 MB / 0.5615 GB, free: 9.973 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002881/0.5328, allocations: 1.354 MB / 0.5628 GB, free: 8.609 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004093/0.5369, allocations: 2.008 MB / 0.5647 GB, free: 6.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002642/0.5372, allocations: 476.8 kB / 0.5652 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/0.5406, allocations: 1.222 MB / 0.5664 GB, free: 4.895 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/0.5514, allocations: 7.771 MB / 0.574 GB, free: 10.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/0.5681, allocations: 9.913 MB / 0.5837 GB, free: 13.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002336/0.5684, allocations: 40 kB / 0.5837 GB, free: 13.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02815/0.5965, allocations: 8.495 MB / 0.592 GB, free: 5.004 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.5967, allocations: 70.81 kB / 0.5921 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002083/0.5969, allocations: 152.6 kB / 0.5922 GB, free: 4.789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00783/0.6047, allocations: 1.785 MB / 0.5939 GB, free: 2.996 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007919/0.6126, allocations: 1.782 MB / 0.5957 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/0.6306, allocations: 8.697 MB / 0.6042 GB, free: 8.266 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007986/0.6386, allocations: 0.5461 MB / 0.6047 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002097/0.6407, allocations: 451.9 kB / 0.6051 GB, free: 7.277 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (948): * Single equations (assignments): 943 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004282/0.645, allocations: 0.8808 MB / 0.606 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001815/0.6468, allocations: 0.5438 MB / 0.6065 GB, free: 5.836 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.6593, allocations: 4.042 MB / 0.6105 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.466e-05/0.6594, allocations: 44.02 kB / 0.6105 GB, free: 1.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.717e-05/0.6594, allocations: 8 kB / 0.6105 GB, free: 1.672 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.001e-05/0.6595, allocations: 15.89 kB / 0.6105 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.248/0.9074, allocations: 11.78 MB / 0.6221 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/0.9075, allocations: 6.875 kB / 0.6221 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/0.91, allocations: 0.492 MB / 0.6225 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006277/0.9163, allocations: 1.577 MB / 0.6241 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006338/0.9169, allocations: 62.59 kB / 0.6241 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.9287, allocations: 7.345 MB / 0.6313 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.9287, allocations: 10.97 kB / 0.6313 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/0.9428, allocations: 5.754 MB / 0.6369 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/0.9451, allocations: 477.5 kB / 0.6374 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/0.9467, allocations: 62.81 kB / 0.6375 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/0.9503, allocations: 301.7 kB / 0.6377 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009036/0.9512, allocations: 213.5 kB / 0.6379 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003039/0.9515, allocations: 86.81 kB / 0.638 GB, free: 127.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004761/0.9562, allocations: 2.315 MB / 0.6403 GB, free: 127 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9562, allocations: 0 / 0.6403 GB, free: 127 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009286/0.9655, allocations: 1.716 MB / 0.642 GB, free: 126.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (253): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009591/0.9665, allocations: 221.8 kB / 0.6422 GB, free: 126.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01445/0.9809, allocations: 5.346 MB / 0.6474 GB, free: 124.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.9809, allocations: 1.406 kB / 0.6474 GB, free: 124.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005276/0.9862, allocations: 2.06 MB / 0.6494 GB, free: 124 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007077/0.9933, allocations: 0.6181 MB / 0.65 GB, free: 123.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/1.018, allocations: 11.74 MB / 0.6615 GB, free: 118 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005881/1.024, allocations: 3.442 MB / 0.6648 GB, free: 117 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005131/1.029, allocations: 2.004 MB / 0.6668 GB, free: 116.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/1.03, allocations: 338.7 kB / 0.6671 GB, free: 116 MB / 474.7 MB Notification: Performance of SimCode: time 1.533e-06/1.03, allocations: 0 / 0.6671 GB, free: 116 MB / 474.7 MB Notification: Performance of Templates: time 0.09594/1.126, allocations: 63.95 MB / 0.7296 GB, free: 55.08 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.122185147018172]