Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001338/0.001338, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001495/0.001495, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.397/1.397, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3516, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01171/0.3633, allocations: 9.03 MB / 0.5706 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008528/0.3719, allocations: 3.602 MB / 0.5742 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.3733, allocations: 71.69 kB / 0.5742 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003687/0.377, allocations: 1.9 MB / 0.5761 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.381, allocations: 1.685 MB / 0.5777 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.3824, allocations: 0.6082 MB / 0.5783 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004586/0.3869, allocations: 3.365 MB / 0.5816 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002978/0.3899, allocations: 2.133 MB / 0.5837 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.3922, allocations: 1.257 MB / 0.5849 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.395, allocations: 1.818 MB / 0.5867 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005978/0.3956, allocations: 252 kB / 0.5869 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.3975, allocations: 0.9323 MB / 0.5878 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.3991, allocations: 1.593 MB / 0.5894 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.4008, allocations: 1.339 MB / 0.5907 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00752/0.4084, allocations: 5.82 MB / 0.5964 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4084, allocations: 3.938 kB / 0.5964 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4084, allocations: 0 / 0.5964 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001692/0.4085, allocations: 0 / 0.5964 GB, free: 0.5977 MB / 430.1 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.00824/0.4168, allocations: 4.034 MB / 0.6003 GB, free: 12.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4168, allocations: 8.031 kB / 0.6003 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006059/0.4229, allocations: 1.796 MB / 0.6021 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004355/0.4272, allocations: 1.876 MB / 0.6039 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.4274, allocations: 193.2 kB / 0.6041 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000505/0.4279, allocations: 255.8 kB / 0.6043 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.4416, allocations: 8.498 MB / 0.6126 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-05/0.4417, allocations: 43.62 kB / 0.6127 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003317/0.4421, allocations: 127.9 kB / 0.6128 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002749/0.4448, allocations: 1.695 MB / 0.6145 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.4579, allocations: 7.098 MB / 0.6214 GB, free: 6.184 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04121/0.4991, allocations: 32.04 MB / 0.6527 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007333/0.5064, allocations: 2.731 MB / 0.6554 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/0.5084, allocations: 1.361 MB / 0.6567 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007053/0.5155, allocations: 3.305 MB / 0.6599 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.5155, allocations: 43.22 kB / 0.66 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.968e-06/0.5155, allocations: 0 / 0.66 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.02854/0.5441, allocations: 11.55 MB / 0.6712 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.5442, allocations: 174.9 kB / 0.6714 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004653/0.5488, allocations: 3.427 MB / 0.6747 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/0.549, allocations: 41.7 kB / 0.6748 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002252/0.5513, allocations: 2.883 MB / 0.6776 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000663/0.552, allocations: 0.5428 MB / 0.6781 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/0.5534, allocations: 1.088 MB / 0.6792 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5535, allocations: 309.1 kB / 0.6795 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.5561, allocations: 1.713 MB / 0.6812 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005822/0.5619, allocations: 5.156 MB / 0.6862 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009534/0.5714, allocations: 7.423 MB / 0.6934 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.798e-05/0.5715, allocations: 36 kB / 0.6935 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0107/0.5822, allocations: 6.699 MB / 0.7 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.5823, allocations: 60 kB / 0.7001 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/0.5825, allocations: 124 kB / 0.7002 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/0.5831, allocations: 325.4 kB / 0.7005 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/0.5866, allocations: 1.248 MB / 0.7017 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.5893, allocations: 2.363 MB / 0.704 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/0.5924, allocations: 295.6 kB / 0.7043 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004434/0.5928, allocations: 335.9 kB / 0.7046 GB, free: 12.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 (668): * 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: 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002519/0.5953, allocations: 1.783 MB / 0.7064 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/0.5958, allocations: 286.1 kB / 0.7066 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004618/0.6004, allocations: 2.324 MB / 0.7089 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.6004, allocations: 19.94 kB / 0.7089 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.6005, allocations: 7.938 kB / 0.7089 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.6005, allocations: 7.984 kB / 0.709 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.6116, allocations: 5.09 MB / 0.7139 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.6116, allocations: 0 / 0.7139 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008675/0.6125, allocations: 179.8 kB / 0.7141 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.6147, allocations: 0.7224 MB / 0.7148 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.6148, allocations: 20 kB / 0.7148 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006336/0.6211, allocations: 4.645 MB / 0.7194 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6211, allocations: 0 / 0.7194 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007197/0.6283, allocations: 4.317 MB / 0.7236 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009547/0.6293, allocations: 250 kB / 0.7238 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.6296, allocations: 16 kB / 0.7238 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009728/0.6306, allocations: 75.89 kB / 0.7239 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.6308, allocations: 72.47 kB / 0.724 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.595e-05/0.6309, allocations: 35.98 kB / 0.724 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003018/0.6339, allocations: 1.959 MB / 0.7259 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6339, allocations: 4 kB / 0.7259 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004387/0.6383, allocations: 0.7968 MB / 0.7267 GB, free: 5.305 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004729/0.6387, allocations: 155.1 kB / 0.7268 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007343/0.6461, allocations: 3.912 MB / 0.7307 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6461, allocations: 0 / 0.7307 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.6477, allocations: 1.034 MB / 0.7317 GB, free: 204 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2821/0.9298, allocations: 337.3 kB / 0.732 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.942, allocations: 7.379 MB / 0.7392 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/0.9443, allocations: 2.234 MB / 0.7414 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003037/0.9473, allocations: 1.612 MB / 0.743 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.9478, allocations: 186.5 kB / 0.7431 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.9478, allocations: 0 / 0.7431 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.04877/0.9966, allocations: 30.37 MB / 0.7728 GB, free: 125.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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: 6.650853314000415]