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.001505/0.001505, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001733/0.001733, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2335/0.2335, allocations: 46.96 MB / 360.9 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.002216/0.002216, allocations: 71.89 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3396, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01276/0.3524, allocations: 9.03 MB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008508/0.3609, allocations: 3.604 MB / 0.5734 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.3625, allocations: 67.69 kB / 0.5735 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004061/0.3666, allocations: 1.908 MB / 0.5753 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004426/0.371, allocations: 1.677 MB / 0.577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.3724, allocations: 0.6122 MB / 0.5776 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004775/0.3772, allocations: 3.365 MB / 0.5809 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.38, allocations: 2.126 MB / 0.5829 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.3819, allocations: 1.261 MB / 0.5842 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.3846, allocations: 1.81 MB / 0.5859 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004933/0.3851, allocations: 252 kB / 0.5862 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.3868, allocations: 0.9361 MB / 0.5871 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.3885, allocations: 1.593 MB / 0.5887 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.39, allocations: 1.335 MB / 0.59 GB, free: 6.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006548/0.3966, allocations: 5.827 MB / 0.5956 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3966, allocations: 0 / 0.5956 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3966, allocations: 0 / 0.5956 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001151/0.3967, allocations: 0 / 0.5956 GB, free: 0.5859 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.007849/0.4046, allocations: 4.034 MB / 0.5996 GB, free: 12.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4046, allocations: 8.031 kB / 0.5996 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006294/0.4109, allocations: 1.796 MB / 0.6013 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005215/0.4161, allocations: 1.876 MB / 0.6032 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.4163, allocations: 193.2 kB / 0.6034 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000622/0.4169, allocations: 255.8 kB / 0.6036 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.4333, allocations: 8.498 MB / 0.6119 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.4334, allocations: 39.64 kB / 0.6119 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004334/0.4339, allocations: 127.9 kB / 0.6121 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00313/0.437, allocations: 1.699 MB / 0.6137 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.4521, allocations: 7.09 MB / 0.6207 GB, free: 6.176 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04538/0.4975, allocations: 32.06 MB / 0.652 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00786/0.5053, allocations: 2.733 MB / 0.6546 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002234/0.5076, allocations: 1.357 MB / 0.656 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008996/0.5166, allocations: 3.309 MB / 0.6592 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.5166, allocations: 43.22 kB / 0.6592 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 5.039e-06/0.5166, allocations: 0 / 0.6592 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.0312/0.5478, allocations: 11.54 MB / 0.6705 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.5479, allocations: 174.9 kB / 0.6707 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/0.5532, allocations: 3.427 MB / 0.674 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002724/0.5535, allocations: 41.7 kB / 0.674 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002415/0.5559, allocations: 2.879 MB / 0.6769 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008139/0.5567, allocations: 0.5467 MB / 0.6774 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/0.5583, allocations: 1.091 MB / 0.6785 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5584, allocations: 313 kB / 0.6788 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/0.5611, allocations: 1.709 MB / 0.6804 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005988/0.5671, allocations: 5.153 MB / 0.6855 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.5774, allocations: 7.423 MB / 0.6927 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001324/0.5775, allocations: 36 kB / 0.6927 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01274/0.5902, allocations: 6.707 MB / 0.6993 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.5903, allocations: 56 kB / 0.6993 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/0.5904, allocations: 120.9 kB / 0.6995 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006563/0.5911, allocations: 324.6 kB / 0.6998 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/0.5955, allocations: 1.248 MB / 0.701 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.5986, allocations: 2.363 MB / 0.7033 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/0.6028, allocations: 295.6 kB / 0.7036 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006326/0.6035, allocations: 336 kB / 0.7039 GB, free: 12.11 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.00324/0.6067, allocations: 1.787 MB / 0.7056 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005898/0.6073, allocations: 286.1 kB / 0.7059 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004745/0.612, allocations: 2.32 MB / 0.7082 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-05/0.6121, allocations: 19.94 kB / 0.7082 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.6121, allocations: 8 kB / 0.7082 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.6121, allocations: 7.969 kB / 0.7082 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.6242, allocations: 5.101 MB / 0.7132 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.6242, allocations: 0 / 0.7132 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009017/0.6251, allocations: 175.8 kB / 0.7134 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002387/0.6275, allocations: 0.7146 MB / 0.7141 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.6276, allocations: 24 kB / 0.7141 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006726/0.6343, allocations: 4.653 MB / 0.7186 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6343, allocations: 0 / 0.7186 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007413/0.6417, allocations: 4.309 MB / 0.7228 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009248/0.6427, allocations: 254 kB / 0.7231 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.643, allocations: 20 kB / 0.7231 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.644, allocations: 67.91 kB / 0.7232 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.6442, allocations: 76.45 kB / 0.7232 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.6443, allocations: 32 kB / 0.7233 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003148/0.6474, allocations: 1.959 MB / 0.7252 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6474, allocations: 4 kB / 0.7252 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004629/0.6521, allocations: 0.8008 MB / 0.726 GB, free: 5.285 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.0004368/0.6525, allocations: 150.9 kB / 0.7261 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007117/0.6596, allocations: 3.909 MB / 0.7299 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.6596, allocations: 0 / 0.7299 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.6614, allocations: 1.037 MB / 0.7309 GB, free: 188 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2707/0.9321, allocations: 334 kB / 0.7313 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.9472, allocations: 7.378 MB / 0.7385 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/0.9497, allocations: 2.233 MB / 0.7406 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003248/0.953, allocations: 1.611 MB / 0.7422 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/0.9535, allocations: 197.3 kB / 0.7424 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.984e-06/0.9535, allocations: 0 / 0.7424 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.05355/1.007, allocations: 30.36 MB / 0.7721 GB, free: 126.8 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/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: 7.01377294305712]