Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001624/0.002713, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009548/0.0009548, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00123/0.002185, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9462/0.9462, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09207/1.038, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2591/0.2591, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02478/0.2839, allocations: 13.24 MB / 292.8 MB, free: 6.402 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 294.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.837e-05, allocations: 6.406 kB / 294.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009213/0.009241, allocations: 7.237 MB / 301.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006291/0.01553, allocations: 3.376 MB / 304.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007465/0.01628, allocations: 43.81 kB / 304.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.0174, allocations: 0.8363 MB / 305.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.01961, allocations: 1.351 MB / 306.9 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008707/0.02048, allocations: 0.526 MB / 307.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.02295, allocations: 2.861 MB / 310.3 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.02442, allocations: 1.254 MB / 311.6 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.02583, allocations: 1.293 MB / 312.9 MB, free: 2.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.02726, allocations: 1.231 MB / 314.1 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003239/0.02758, allocations: 140 kB / 314.2 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.02882, allocations: 0.8891 MB / 315.1 MB, free: 0 / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006141/0.02944, allocations: 0.9661 MB / 316.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.02996, allocations: 0.5294 MB / 316.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.0323, allocations: 2.607 MB / 319.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.03231, allocations: 0 / 319.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.03232, allocations: 4 kB / 319.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.03243, allocations: 0 / 319.2 MB, free: 11.88 MB / 314.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.003718/0.03615, allocations: 3.267 MB / 322.5 MB, free: 8.555 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.03619, allocations: 12.92 kB / 322.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.03836, allocations: 0.8006 MB / 323.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.03975, allocations: 0.9931 MB / 324.3 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.846e-05/0.03983, allocations: 127.4 kB / 324.4 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.04003, allocations: 164.2 kB / 324.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.04316, allocations: 3.176 MB / 327.8 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.962e-05/0.04321, allocations: 31.7 kB / 327.8 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.04336, allocations: 87.88 kB / 327.9 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009654/0.04432, allocations: 1.125 MB / 329 MB, free: 1.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.04681, allocations: 1.645 MB / 330.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.06355, allocations: 21.4 MB / 352 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.06498, allocations: 0.7263 MB / 352.8 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.06519, allocations: 168.1 kB / 352.9 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002321/0.06751, allocations: 1.952 MB / 354.9 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.06754, allocations: 38.56 kB / 354.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 3.928e-06/0.06754, allocations: 0 / 354.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.003848/0.07139, allocations: 1.641 MB / 356.6 MB, free: 4.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.07145, allocations: 140.5 kB / 356.7 MB, free: 4.762 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.07374, allocations: 2.272 MB / 359 MB, free: 2.457 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.07378, allocations: 37.7 kB / 359 MB, free: 2.414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.0749, allocations: 2.178 MB / 361.2 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.07519, allocations: 377.2 kB / 361.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007873/0.07598, allocations: 0.8382 MB / 362.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.07608, allocations: 357.8 kB / 362.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009201/0.077, allocations: 0.5068 MB / 363.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.07935, allocations: 3.371 MB / 366.6 MB, free: 9.234 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/0.08351, allocations: 4.65 MB / 371.3 MB, free: 3.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.527e-05/0.08357, allocations: 28 kB / 371.3 MB, free: 3.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.004284/0.08785, allocations: 2.992 MB / 374.3 MB, free: 52 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.08792, allocations: 52 kB / 374.3 MB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/0.08805, allocations: 116 kB / 374.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.08817, allocations: 140 kB / 374.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.09057, allocations: 1.112 MB / 375.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001513/0.09072, allocations: 215.2 kB / 375.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.0929, allocations: 199.8 kB / 376.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/0.09318, allocations: 252 kB / 376.3 MB, free: 13.98 MB / 378.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 (Body1.sphereColor[1],Body1.sphereColor[2],Body1.sphereColor[3],ActuatedRevolute1.cylinderColor[1],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * 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.000764/0.09395, allocations: 492 kB / 376.8 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.09421, allocations: 123.8 kB / 376.9 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.09471, allocations: 357.5 kB / 377.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.09472, allocations: 8 kB / 377.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.09473, allocations: 8 kB / 377.3 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.09474, allocations: 4.125 kB / 377.3 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/0.09784, allocations: 2.073 MB / 379.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/0.09787, allocations: 16 kB / 379.4 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.09828, allocations: 123.8 kB / 379.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.09856, allocations: 206.4 kB / 379.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.09857, allocations: 4 kB / 379.7 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.09862, allocations: 31.91 kB / 379.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.09862, allocations: 4.344 kB / 379.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.09863, allocations: 19.88 kB / 379.8 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.09945, allocations: 1.016 MB / 380.8 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.09962, allocations: 16 kB / 380.8 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.1002, allocations: 16 kB / 380.8 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.1002, allocations: 55.8 kB / 380.9 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.1003, allocations: 27.98 kB / 380.9 MB, free: 9.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009963/0.1013, allocations: 0.9077 MB / 381.8 MB, free: 8.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1013, allocations: 0 / 381.8 MB, free: 8.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002726/0.104, allocations: 0.6249 MB / 382.4 MB, free: 7.676 MB / 378.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.0003493/0.1044, allocations: 152 kB / 382.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002285/0.1066, allocations: 1.708 MB / 384.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001355/0.1068, allocations: 67.92 kB / 384.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007601/0.1075, allocations: 0.5159 MB / 384.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.1094, allocations: 1.524 MB / 386.4 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/0.1174, allocations: 4.424 MB / 390.8 MB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/0.1182, allocations: 0.7098 MB / 391.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001028/0.1192, allocations: 333.3 kB / 391.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/0.1197, allocations: 349.3 kB / 392.2 MB, free: 13.56 MB / 394.7 MB Notification: Performance of SimCode: time 2.004e-06/0.1197, allocations: 4 kB / 392.2 MB, free: 13.56 MB / 394.7 MB Notification: Performance of Templates: time 0.02822/0.1479, allocations: 14.21 MB / 406.4 MB, free: 15.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1993606705218554]