Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.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.001013/0.001013, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001046/0.001046, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9408/0.9408, allocations: 158.6 MB / 185.9 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1376/0.1376, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.762e-05, allocations: 2.312 kB / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.0121/0.01212, allocations: 14.37 MB / 362.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0086/0.02072, allocations: 4.992 MB / 367.5 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.02192, allocations: 123.4 kB / 367.6 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005184/0.0271, allocations: 4.427 MB / 372 MB, free: 1.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.0315, allocations: 2.6 MB / 374.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.0336, allocations: 1.197 MB / 375.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007298/0.0409, allocations: 7.825 MB / 383.7 MB, free: 5.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004711/0.04561, allocations: 5.072 MB / 388.7 MB, free: 368 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004865/0.05047, allocations: 4.405 MB / 393.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003666/0.05414, allocations: 3.472 MB / 396.6 MB, free: 8.465 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006752/0.05481, allocations: 0.5039 MB / 397.1 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.05668, allocations: 1.346 MB / 398.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.05877, allocations: 3.047 MB / 401.5 MB, free: 3.559 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.06016, allocations: 1.944 MB / 403.5 MB, free: 1.609 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004833/0.06499, allocations: 6.493 MB / 409.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.065, allocations: 11.94 kB / 410 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.065, allocations: 0 / 410 MB, free: 11.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.673e-05/0.06505, allocations: 3.938 kB / 410 MB, free: 11.08 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.007395/0.07245, allocations: 7.336 MB / 417.3 MB, free: 3.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.07249, allocations: 12.03 kB / 417.3 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.08347, allocations: 3.04 MB / 420.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004266/0.08774, allocations: 3.322 MB / 423.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.0879, allocations: 333 kB / 424 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005443/0.08845, allocations: 464 kB / 424.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008135/0.09658, allocations: 7.422 MB / 431.9 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.09669, allocations: 67.45 kB / 431.9 MB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.09702, allocations: 211.8 kB / 432.1 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001762/0.09878, allocations: 2.262 MB / 434.4 MB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005143/0.1039, allocations: 3.255 MB / 437.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.21/0.3139, allocations: 55.9 MB / 493.6 MB, free: 51.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004566/0.3185, allocations: 2.089 MB / 495.7 MB, free: 51.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/0.3191, allocations: 0.5656 MB / 496.2 MB, free: 51.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005998/0.3251, allocations: 4.453 MB / 0.4889 GB, free: 50.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.3251, allocations: 59.92 kB / 0.489 GB, free: 50.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=188): time 3.737e-06/0.3251, allocations: 0 / 0.489 GB, free: 50.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=222): time 0.03199/0.3571, allocations: 13.71 MB / 0.5024 GB, free: 42.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.3572, allocations: 264.2 kB / 0.5026 GB, free: 42.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003714/0.3609, allocations: 4.695 MB / 0.5072 GB, free: 38.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.361, allocations: 57.7 kB / 0.5073 GB, free: 38.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.3626, allocations: 4.62 MB / 0.5118 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/0.3631, allocations: 0.946 MB / 0.5127 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.3644, allocations: 1.714 MB / 0.5144 GB, free: 31.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.062e-05/0.3645, allocations: 488.7 kB / 0.5149 GB, free: 30.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.3656, allocations: 0.7999 MB / 0.5156 GB, free: 30.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.369, allocations: 7.829 MB / 0.5233 GB, free: 19.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005376/0.3744, allocations: 9.286 MB / 0.5323 GB, free: 6.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-05/0.3744, allocations: 48 kB / 0.5324 GB, free: 6.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=1018) (initialization): time 0.007992/0.3824, allocations: 6.551 MB / 0.5388 GB, free: 384 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/0.3825, allocations: 72 kB / 0.5389 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/0.3826, allocations: 164 kB / 0.539 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.3842, allocations: 0.6771 MB / 0.5397 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/0.3871, allocations: 1.746 MB / 0.5414 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/0.3912, allocations: 4.84 MB / 0.5461 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/0.3943, allocations: 339.7 kB / 0.5464 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003719/0.3946, allocations: 404 kB / 0.5468 GB, free: 7.922 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (976): * Single equations (assignments): 971 * Array equations: 3 * 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): 2 systems {(3,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001611/0.3962, allocations: 0.7885 MB / 0.5476 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/0.3969, allocations: 0.5087 MB / 0.5481 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/0.3995, allocations: 1.817 MB / 0.5499 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.3995, allocations: 27.98 kB / 0.5499 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.3995, allocations: 7.375 kB / 0.5499 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.3995, allocations: 15.95 kB / 0.5499 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.4099, allocations: 7.5 MB / 0.5572 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.4099, allocations: 8.188 kB / 0.5572 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/0.4107, allocations: 335.5 kB / 0.5576 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.412, allocations: 456.5 kB / 0.558 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.4121, allocations: 55.98 kB / 0.558 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003801/0.4159, allocations: 4.479 MB / 0.5624 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/0.4159, allocations: 16.88 kB / 0.5624 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/0.4203, allocations: 3.227 MB / 0.5656 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.4216, allocations: 0.6568 MB / 0.5662 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.4219, allocations: 55.92 kB / 0.5663 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009606/0.4229, allocations: 59.92 kB / 0.5663 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/0.4232, allocations: 164.8 kB / 0.5665 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.375e-05/0.4233, allocations: 56 kB / 0.5666 GB, free: 3.043 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002226/0.4255, allocations: 1.929 MB / 0.5684 GB, free: 1.121 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4255, allocations: 0 / 0.5684 GB, free: 1.121 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005113/0.4306, allocations: 1.519 MB / 0.5699 GB, free: 15.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (187): * Single equations (assignments): 182 * Array equations: 3 * 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): 2 systems {(3,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004459/0.431, allocations: 214.7 kB / 0.5701 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004983/0.436, allocations: 3.834 MB / 0.5739 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.436, allocations: 1.812 kB / 0.5739 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.4373, allocations: 1.148 MB / 0.575 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.4394, allocations: 0.6082 MB / 0.5756 GB, free: 9.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.4547, allocations: 10.86 MB / 0.5862 GB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/0.4565, allocations: 1.727 MB / 0.5879 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001836/0.4583, allocations: 0.654 MB / 0.5885 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/0.4596, allocations: 0.7949 MB / 0.5893 GB, free: 11.43 MB / 442.7 MB Notification: Performance of SimCode: time 1.873e-06/0.4596, allocations: 0 / 0.5893 GB, free: 11.43 MB / 442.7 MB Notification: Performance of Templates: time 0.2202/0.6798, allocations: 49.49 MB / 0.6376 GB, free: 120.5 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.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.851572202984244]