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.001428/0.001428, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001396/0.001396, allocations: 161.4 kB / 24.56 MB, free: 12 kB / 18.57 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 0.996/0.996, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2707/0.2707, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 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 1.403e-06/1.403e-06, allocations: 0 / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.731e-05, allocations: 2.312 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.007864/0.007881, allocations: 9.946 MB / 388 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00553/0.01341, allocations: 3.736 MB / 391.7 MB, free: 4.895 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009257/0.01434, allocations: 67.69 kB / 391.8 MB, free: 4.828 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.01661, allocations: 2.079 MB / 393.9 MB, free: 2.742 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.01964, allocations: 1.754 MB / 395.6 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009406/0.02058, allocations: 0.6626 MB / 396.3 MB, free: 324 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.02382, allocations: 3.754 MB / 400 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002745/0.02656, allocations: 2.454 MB / 402.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.02869, allocations: 1.941 MB / 404.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.03025, allocations: 1.835 MB / 406.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.03054, allocations: 260 kB / 406.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.03175, allocations: 0.9672 MB / 407.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.03298, allocations: 1.675 MB / 409.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007605/0.03374, allocations: 1.036 MB / 410.2 MB, free: 2.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.03674, allocations: 3.802 MB / 414 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.03674, allocations: 0 / 414 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.03674, allocations: 0 / 414 MB, free: 14.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.03678, allocations: 0 / 414 MB, free: 14.5 MB / 394.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.005069/0.04184, allocations: 4.387 MB / 418.4 MB, free: 10.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.04189, allocations: 12.03 kB / 418.4 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003815/0.0457, allocations: 2.183 MB / 420.6 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.04763, allocations: 1.757 MB / 422.3 MB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.871e-05/0.04773, allocations: 189.2 kB / 422.5 MB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/0.04806, allocations: 252.2 kB / 422.8 MB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00747/0.05553, allocations: 5.294 MB / 428.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.77e-05/0.05562, allocations: 39.64 kB / 428.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/0.0559, allocations: 123.9 kB / 428.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.05804, allocations: 1.637 MB / 429.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006067/0.06411, allocations: 2.666 MB / 432.5 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1796/0.2437, allocations: 38.79 MB / 471.3 MB, free: 60.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.2464, allocations: 1.471 MB / 472.8 MB, free: 59.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.2468, allocations: 398.1 kB / 473.2 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003072/0.2499, allocations: 3.377 MB / 476.6 MB, free: 58.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2499, allocations: 50.33 kB / 476.6 MB, free: 58.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 2.364e-06/0.2499, allocations: 0 / 476.6 MB, free: 58.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.007043/0.2569, allocations: 5.632 MB / 482.2 MB, free: 56.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.257, allocations: 167.3 kB / 482.4 MB, free: 55.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.2593, allocations: 3.258 MB / 485.7 MB, free: 54.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.2594, allocations: 37.02 kB / 485.7 MB, free: 54.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.2604, allocations: 3.079 MB / 488.8 MB, free: 52.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.2606, allocations: 482.5 kB / 489.2 MB, free: 51.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007617/0.2614, allocations: 1.168 MB / 490.4 MB, free: 51.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.2614, allocations: 476.8 kB / 490.9 MB, free: 50.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.2621, allocations: 0.492 MB / 491.4 MB, free: 50.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.2643, allocations: 5.755 MB / 497.1 MB, free: 43.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/0.2677, allocations: 6.867 MB / 0.4922 GB, free: 35.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-05/0.2677, allocations: 35.97 kB / 0.4922 GB, free: 35.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004517/0.2723, allocations: 4.51 MB / 0.4966 GB, free: 34.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.2723, allocations: 62.59 kB / 0.4967 GB, free: 34.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.2724, allocations: 126.1 kB / 0.4968 GB, free: 34.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.2726, allocations: 165.6 kB / 0.497 GB, free: 34.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.2747, allocations: 1.243 MB / 0.4982 GB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001447/0.2748, allocations: 246.7 kB / 0.4984 GB, free: 33.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.2764, allocations: 322.7 kB / 0.4987 GB, free: 33.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/0.2767, allocations: 335 kB / 0.499 GB, free: 33.79 MB / 410.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.0006481/0.2773, allocations: 0.6082 MB / 0.4996 GB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.2776, allocations: 315.5 kB / 0.4999 GB, free: 33.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007541/0.2783, allocations: 0.5988 MB / 0.5005 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.2783, allocations: 12.53 kB / 0.5005 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.2783, allocations: 3.094 kB / 0.5005 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.2783, allocations: 4.484 kB / 0.5005 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.2821, allocations: 3.239 MB / 0.5037 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2821, allocations: 2.438 kB / 0.5037 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.2824, allocations: 144.9 kB / 0.5038 GB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.2826, allocations: 53.53 kB / 0.5039 GB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.2826, allocations: 16.47 kB / 0.5039 GB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006895/0.2833, allocations: 1.832 MB / 0.5057 GB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2833, allocations: 3.062 kB / 0.5057 GB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.2844, allocations: 1.548 MB / 0.5072 GB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.2846, allocations: 267.2 kB / 0.5075 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.2847, allocations: 18.5 kB / 0.5075 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.2852, allocations: 69.17 kB / 0.5075 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.2852, allocations: 58.45 kB / 0.5076 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.2853, allocations: 35.09 kB / 0.5076 GB, free: 28.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.2863, allocations: 1.377 MB / 0.509 GB, free: 27.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2863, allocations: 0 / 0.509 GB, free: 27.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001882/0.2882, allocations: 0.781 MB / 0.5097 GB, free: 27.79 MB / 410.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.000244/0.2885, allocations: 163.7 kB / 0.5099 GB, free: 27.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.2904, allocations: 2.219 MB / 0.5121 GB, free: 26.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2904, allocations: 0 / 0.5121 GB, free: 26.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.2908, allocations: 481.9 kB / 0.5125 GB, free: 26.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009332/0.2917, allocations: 343.6 kB / 0.5129 GB, free: 26.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.2966, allocations: 5.789 MB / 0.5185 GB, free: 23.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.2972, allocations: 0.9891 MB / 0.5195 GB, free: 22.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001817/0.299, allocations: 1.409 MB / 0.5208 GB, free: 21.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.2992, allocations: 186.7 kB / 0.521 GB, free: 21.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2992, allocations: 4 kB / 0.521 GB, free: 21.73 MB / 410.7 MB Notification: Performance of Templates: time 0.02949/0.3287, allocations: 20.45 MB / 0.541 GB, free: 5.719 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.024855752009898]