Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.001437/0.001437, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001811/0.001811, allocations: 210.5 kB / 24.48 MB, free: 4.035 MB / 14.72 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.466/1.466, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2255/0.2255, allocations: 46.89 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 75.88 kB / 0.4968 GB, free: 8.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3532, allocations: 65.97 MB / 0.5612 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.01198/0.3652, allocations: 14.07 MB / 0.5749 GB, free: 24.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.3755, allocations: 4.477 MB / 0.5793 GB, free: 21.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.3783, allocations: 75.22 kB / 0.5794 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004573/0.3829, allocations: 2.399 MB / 0.5817 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005267/0.3881, allocations: 1.94 MB / 0.5836 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.3897, allocations: 0.6048 MB / 0.5842 GB, free: 19.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006354/0.3961, allocations: 4.174 MB / 0.5883 GB, free: 17.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00421/0.4003, allocations: 2.744 MB / 0.591 GB, free: 16.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.4033, allocations: 1.588 MB / 0.5925 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003666/0.4069, allocations: 2.363 MB / 0.5948 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009471/0.4079, allocations: 351 kB / 0.5952 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.4106, allocations: 1.253 MB / 0.5964 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001859/0.4125, allocations: 2.049 MB / 0.5984 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.4147, allocations: 2.39 MB / 0.6007 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007968/0.4226, allocations: 7.871 MB / 0.6084 GB, free: 6.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4226, allocations: 5.062 kB / 0.6084 GB, free: 6.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4226, allocations: 0 / 0.6084 GB, free: 6.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002204/0.4228, allocations: 0 / 0.6084 GB, free: 6.387 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1820 * Number of variables: 1820 Notification: Performance of Generate backend data structure: time 0.01148/0.4343, allocations: 5.496 MB / 0.6138 GB, free: 1.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4344, allocations: 12.03 kB / 0.6138 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.4452, allocations: 3.207 MB / 0.6169 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006913/0.4521, allocations: 2.275 MB / 0.6191 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.4524, allocations: 271 kB / 0.6194 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/0.4538, allocations: 355.7 kB / 0.6197 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.4781, allocations: 12.21 MB / 0.6317 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.4782, allocations: 35.7 kB / 0.6317 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000578/0.4788, allocations: 159.8 kB / 0.6318 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004653/0.4835, allocations: 2.637 MB / 0.6344 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02719/0.5107, allocations: 11.24 MB / 0.6454 GB, free: 432 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07278/0.5834, allocations: 39.04 MB / 0.6835 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.5946, allocations: 4.738 MB / 0.6881 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003571/0.5982, allocations: 2.214 MB / 0.6903 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.013/0.6112, allocations: 6.846 MB / 0.697 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.795e-05/0.6113, allocations: 56.5 kB / 0.697 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=229): time 6.782e-06/0.6113, allocations: 4 kB / 0.697 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=250): time 0.05521/0.6665, allocations: 19.03 MB / 0.7156 GB, free: 6.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.6665, allocations: 73.41 kB / 0.7157 GB, free: 6.801 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005043/0.6716, allocations: 3.125 MB / 0.7188 GB, free: 3.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004066/0.672, allocations: 57.7 kB / 0.7188 GB, free: 3.598 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0027/0.6747, allocations: 3.329 MB / 0.7221 GB, free: 244 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/0.6759, allocations: 0.9727 MB / 0.723 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001827/0.6778, allocations: 1.247 MB / 0.7242 GB, free: 14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6779, allocations: 301.1 kB / 0.7245 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003833/0.6817, allocations: 2.452 MB / 0.7269 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007112/0.6888, allocations: 5.788 MB / 0.7326 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/0.7011, allocations: 8.942 MB / 0.7413 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-05/0.7012, allocations: 39.94 kB / 0.7413 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02235/0.7236, allocations: 10.01 MB / 0.7511 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.352e-05/0.7237, allocations: 60.94 kB / 0.7512 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/0.7238, allocations: 119.8 kB / 0.7513 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009676/0.7335, allocations: 2.369 MB / 0.7536 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004989/0.7385, allocations: 1.337 MB / 0.7549 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2897/1.028, allocations: 13.8 MB / 0.7684 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004446/1.033, allocations: 331.5 kB / 0.7687 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/1.034, allocations: 349.7 kB / 0.769 GB, free: 163.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 717 * Array equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,5), (3,27)} Notification: Performance of prepare postOptimizeDAE: time 0.004868/1.039, allocations: 2.363 MB / 0.7713 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005863/1.039, allocations: 314.6 kB / 0.7716 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006455/1.046, allocations: 4.594 MB / 0.7761 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/1.046, allocations: 11.34 kB / 0.7761 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.046, allocations: 2.906 kB / 0.7761 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/1.046, allocations: 345.5 kB / 0.7765 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004233/1.047, allocations: 46.31 kB / 0.7765 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.048, allocations: 137.8 kB / 0.7766 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/1.048, allocations: 124 kB / 0.7768 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007557/1.056, allocations: 4.344 MB / 0.781 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007902/1.064, allocations: 6.62 MB / 0.7875 GB, free: 157.6 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002459/1.066, allocations: 1.677 MB / 0.7891 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003833/1.07, allocations: 1.888 MB / 0.7909 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of Backend: time 3.2e-07/1.07, allocations: 0 / 0.7909 GB, free: 156.4 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:80:3-82:159:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01179/1.082, allocations: 4.682 MB / 0.7955 GB, free: 154.8 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02023/1.102, allocations: 10.48 MB / 0.8058 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.07928/1.181, allocations: 56.24 MB / 0.8607 GB, free: 104.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit4/FreeMotionScalarInit4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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: 7.290612876880914]