Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001537/0.001537, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.001594/0.001594, allocations: 165 kB / 24.56 MB, free: 20 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 1.015/1.015, allocations: 177.1 MB / 205 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2428/0.2428, allocations: 32.8 MB / 294.3 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.831e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008074/0.008092, allocations: 9.945 MB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005227/0.01332, allocations: 3.724 MB / 389.7 MB, free: 6.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000581/0.0139, allocations: 67.69 kB / 389.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.01609, allocations: 2.079 MB / 391.8 MB, free: 4.766 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.01818, allocations: 1.75 MB / 393.6 MB, free: 3.008 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.01919, allocations: 0.6664 MB / 394.3 MB, free: 2.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002469/0.02166, allocations: 3.75 MB / 398 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.02343, allocations: 2.458 MB / 400.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.02519, allocations: 1.894 MB / 402.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.02671, allocations: 1.866 MB / 404.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002997/0.02701, allocations: 260 kB / 404.5 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.02809, allocations: 0.9789 MB / 405.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009781/0.02907, allocations: 1.679 MB / 407.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008077/0.02988, allocations: 1.032 MB / 408.2 MB, free: 4.348 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003353/0.03323, allocations: 3.814 MB / 412 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.03323, allocations: 0 / 412 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03324, allocations: 0 / 412 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.52e-05/0.03329, allocations: 0 / 412 MB, free: 0.5195 MB / 378.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.005549/0.03884, allocations: 4.379 MB / 416.4 MB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.03889, allocations: 12.03 kB / 416.4 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003784/0.04267, allocations: 2.187 MB / 418.6 MB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.04458, allocations: 1.726 MB / 420.3 MB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.04468, allocations: 193.2 kB / 420.5 MB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.04498, allocations: 264.2 kB / 420.7 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005905/0.05088, allocations: 5.294 MB / 426 MB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.45e-05/0.05095, allocations: 39.64 kB / 426.1 MB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.05116, allocations: 131.9 kB / 426.2 MB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001607/0.05277, allocations: 1.699 MB / 427.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005002/0.05777, allocations: 2.764 MB / 430.7 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1894/0.2472, allocations: 38.6 MB / 469.3 MB, free: 61.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/0.2505, allocations: 1.615 MB / 470.9 MB, free: 61.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.2511, allocations: 493.5 kB / 471.4 MB, free: 61.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003166/0.2542, allocations: 3.159 MB / 474.5 MB, free: 60.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2542, allocations: 50.11 kB / 474.6 MB, free: 60.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 2.676e-06/0.2543, allocations: 0 / 474.6 MB, free: 60.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01304/0.2673, allocations: 8.495 MB / 483.1 MB, free: 57.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.2673, allocations: 167.8 kB / 483.2 MB, free: 57.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.2697, allocations: 3.176 MB / 486.4 MB, free: 56.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.2698, allocations: 44.64 kB / 486.4 MB, free: 56.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.2708, allocations: 3.007 MB / 489.4 MB, free: 54.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.2711, allocations: 0.5583 MB / 490 MB, free: 53.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008141/0.2719, allocations: 1.171 MB / 491.2 MB, free: 53.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.272, allocations: 479.9 kB / 491.6 MB, free: 52.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008212/0.2728, allocations: 0.5489 MB / 492.2 MB, free: 52.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.275, allocations: 5.662 MB / 497.9 MB, free: 45.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/0.2791, allocations: 6.819 MB / 0.4928 GB, free: 38.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.532e-05/0.2791, allocations: 39 kB / 0.4929 GB, free: 38.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00552/0.2847, allocations: 4.662 MB / 0.4974 GB, free: 36.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.93e-05/0.2847, allocations: 60.06 kB / 0.4975 GB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/0.2848, allocations: 123.4 kB / 0.4976 GB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/0.2853, allocations: 337.8 kB / 0.4979 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.2874, allocations: 1.247 MB / 0.4992 GB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.2886, allocations: 2.434 MB / 0.5015 GB, free: 34.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.2904, allocations: 317.5 kB / 0.5018 GB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/0.2907, allocations: 333.2 kB / 0.5021 GB, free: 34 MB / 410.7 MB 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.0007919/0.2915, allocations: 0.6158 MB / 0.5027 GB, free: 33.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.2918, allocations: 324.9 kB / 0.5031 GB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.2936, allocations: 1.308 MB / 0.5043 GB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.2936, allocations: 16.92 kB / 0.5044 GB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2936, allocations: 5.641 kB / 0.5044 GB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.2936, allocations: 11.2 kB / 0.5044 GB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/0.2986, allocations: 4.209 MB / 0.5085 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2986, allocations: 6.25 kB / 0.5085 GB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.299, allocations: 170.8 kB / 0.5086 GB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009761/0.3, allocations: 440.8 kB / 0.5091 GB, free: 31.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.3, allocations: 19.91 kB / 0.5091 GB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.3021, allocations: 2.924 MB / 0.5119 GB, free: 28.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3021, allocations: 0.6562 kB / 0.5119 GB, free: 28.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.3047, allocations: 2.28 MB / 0.5142 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.305, allocations: 274.5 kB / 0.5144 GB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.3051, allocations: 24.58 kB / 0.5145 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005612/0.3057, allocations: 96.45 kB / 0.5145 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.3058, allocations: 73.08 kB / 0.5146 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.3058, allocations: 34.53 kB / 0.5146 GB, free: 27.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001296/0.3071, allocations: 1.349 MB / 0.516 GB, free: 27.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3071, allocations: 0 / 0.516 GB, free: 27.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00212/0.3093, allocations: 0.8727 MB / 0.5168 GB, free: 27.06 MB / 410.7 MB 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.0002801/0.3095, allocations: 172.3 kB / 0.517 GB, free: 26.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.3122, allocations: 2.558 MB / 0.5195 GB, free: 24.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3122, allocations: 0 / 0.5195 GB, free: 24.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005635/0.3128, allocations: 0.6186 MB / 0.5201 GB, free: 24.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.3139, allocations: 351.8 kB / 0.5204 GB, free: 23.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/0.3201, allocations: 5.953 MB / 0.5262 GB, free: 18.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.3208, allocations: 1.015 MB / 0.5272 GB, free: 17.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001708/0.3225, allocations: 1.398 MB / 0.5286 GB, free: 16.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.3229, allocations: 198.3 kB / 0.5288 GB, free: 16.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3229, allocations: 0 / 0.5288 GB, free: 16.7 MB / 410.7 MB Notification: Performance of Templates: time 0.03298/0.3559, allocations: 25.81 MB / 0.554 GB, free: 9.242 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.201451622880995]