Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.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.0009372/0.0009372, allocations: 87.58 kB / 21.19 MB, free: 3.375 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.001634/0.001634, allocations: 161 kB / 24.56 MB, free: 8 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.023/1.023, allocations: 177.1 MB / 205 MB, free: 5.645 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.2951/0.2951, allocations: 34.26 MB / 295.7 MB, free: 0.6797 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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.423e-05/3.629e-05, allocations: 5.547 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009449/0.009485, allocations: 7.27 MB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006454/0.01594, allocations: 3.29 MB / 388.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.01724, allocations: 39.81 kB / 388.6 MB, free: 8.027 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.01875, allocations: 0.852 MB / 389.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.02215, allocations: 1.377 MB / 390.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.02324, allocations: 0.5805 MB / 391.4 MB, free: 5.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.02594, allocations: 2.944 MB / 394.4 MB, free: 2.254 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.02773, allocations: 1.455 MB / 395.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.02945, allocations: 1.255 MB / 397.1 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/0.03175, allocations: 1.29 MB / 398.4 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004507/0.0322, allocations: 140 kB / 398.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.03352, allocations: 0.8695 MB / 399.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007206/0.03424, allocations: 1.075 MB / 400.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007628/0.035, allocations: 0.6539 MB / 401.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.03815, allocations: 2.813 MB / 403.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.03815, allocations: 0 / 403.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.03815, allocations: 0 / 403.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001137/0.03827, allocations: 4 kB / 403.9 MB, free: 8.66 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.00475/0.04302, allocations: 3.253 MB / 407.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.04307, allocations: 8.031 kB / 407.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/0.04672, allocations: 1.996 MB / 409.2 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.04849, allocations: 1.203 MB / 410.4 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.867e-05/0.04857, allocations: 119.4 kB / 410.5 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.0488, allocations: 156.3 kB / 410.6 MB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005061/0.05386, allocations: 3.963 MB / 414.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.827e-05/0.05393, allocations: 39.67 kB / 414.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.0541, allocations: 83.89 kB / 414.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001252/0.05536, allocations: 1.374 MB / 416.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004657/0.06001, allocations: 2.04 MB / 418.1 MB, free: 9.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2068/0.2668, allocations: 31.13 MB / 449.3 MB, free: 68.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.2687, allocations: 0.801 MB / 450.1 MB, free: 68.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.269, allocations: 257.3 kB / 450.3 MB, free: 67.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002635/0.2717, allocations: 2.453 MB / 452.8 MB, free: 66.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2717, allocations: 39.33 kB / 452.8 MB, free: 66.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=79): time 4.268e-06/0.2717, allocations: 0 / 452.8 MB, free: 66.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=86): time 0.004883/0.2766, allocations: 3.584 MB / 456.4 MB, free: 65.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.2766, allocations: 135.1 kB / 456.5 MB, free: 65.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.2789, allocations: 2.577 MB / 459.1 MB, free: 64.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.279, allocations: 35.42 kB / 459.1 MB, free: 64.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009304/0.2799, allocations: 2.4 MB / 461.5 MB, free: 63.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.2801, allocations: 398.1 kB / 461.9 MB, free: 63.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007829/0.2809, allocations: 0.9651 MB / 462.9 MB, free: 62.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.281, allocations: 0.5335 MB / 463.4 MB, free: 62.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/0.2817, allocations: 405 kB / 463.8 MB, free: 62.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.2837, allocations: 4.832 MB / 468.6 MB, free: 56.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.2873, allocations: 5.755 MB / 474.4 MB, free: 50.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.036e-05/0.2873, allocations: 29.06 kB / 474.4 MB, free: 50.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.004936/0.2923, allocations: 3.744 MB / 478.2 MB, free: 49.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/0.2923, allocations: 50.81 kB / 478.2 MB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/0.2924, allocations: 106.2 kB / 478.3 MB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/0.2925, allocations: 142.8 kB / 478.5 MB, free: 49.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.2943, allocations: 1.043 MB / 479.5 MB, free: 48.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001189/0.2945, allocations: 208 kB / 479.7 MB, free: 48.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.2966, allocations: 281.2 kB / 480 MB, free: 48.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.2968, allocations: 287.6 kB / 480.3 MB, free: 48.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 486 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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.0007709/0.2976, allocations: 0.5233 MB / 480.8 MB, free: 48.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.2979, allocations: 246.7 kB / 481 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005247/0.2984, allocations: 408.9 kB / 481.4 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.2984, allocations: 11.66 kB / 481.4 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.2984, allocations: 2.938 kB / 481.4 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2984, allocations: 3.234 kB / 481.5 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.3019, allocations: 2.441 MB / 483.9 MB, free: 46.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3019, allocations: 3.125 kB / 483.9 MB, free: 46.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.3022, allocations: 133.6 kB / 484 MB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.3022, allocations: 10.16 kB / 484 MB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.3022, allocations: 23.53 kB / 484.1 MB, free: 46.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.3022, allocations: 6.531 kB / 484.1 MB, free: 46.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3022, allocations: 10.62 kB / 484.1 MB, free: 46.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/0.3032, allocations: 1.283 MB / 485.4 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.3035, allocations: 211.7 kB / 485.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.3036, allocations: 19.75 kB / 485.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.3041, allocations: 65.28 kB / 485.6 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.3042, allocations: 56.08 kB / 485.7 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.3042, allocations: 31.78 kB / 485.7 MB, free: 45.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001294/0.3055, allocations: 1.083 MB / 486.8 MB, free: 45.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3055, allocations: 1.25 kB / 486.8 MB, free: 45.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003485/0.309, allocations: 0.6185 MB / 487.4 MB, free: 45.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * 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 (64): * Single equations (assignments): 61 * 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 Backend phase and start with SimCode phase: time 0.000427/0.3094, allocations: 168.6 kB / 487.6 MB, free: 45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003979/0.3134, allocations: 1.828 MB / 489.4 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.3134, allocations: 1.094 kB / 489.4 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.3137, allocations: 224 kB / 489.6 MB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.3152, allocations: 235 kB / 489.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007407/0.3226, allocations: 4.352 MB / 494.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.3233, allocations: 0.7274 MB / 495 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002078/0.3254, allocations: 1.188 MB / 496.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.3257, allocations: 148.4 kB / 496.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/0.3257, allocations: 0 / 496.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of Templates: time 0.02477/0.3505, allocations: 14.45 MB / 0.4988 GB, free: 38.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.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.006765210069716]