Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001004/0.001004, allocations: 91.31 kB / 20.43 MB, free: 4.152 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.0009845/0.0009845, allocations: 165 kB / 23.79 MB, free: 0.7891 MB / 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.96/0.96, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1515/0.1515, allocations: 32.37 MB / 270.4 MB, free: 14.72 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.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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 347.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.444e-05, allocations: 4.281 kB / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008597/0.008631, allocations: 7.316 MB / 355 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006177/0.01481, allocations: 3.264 MB / 358.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.01582, allocations: 39.81 kB / 358.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.01765, allocations: 0.852 MB / 359.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.02071, allocations: 1.412 MB / 360.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.02181, allocations: 0.5766 MB / 361.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002907/0.02472, allocations: 2.903 MB / 364 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.0263, allocations: 1.471 MB / 365.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.02758, allocations: 1.231 MB / 366.7 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.02937, allocations: 1.321 MB / 368 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.02964, allocations: 144 kB / 368.2 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.03109, allocations: 0.8851 MB / 369 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008347/0.03193, allocations: 1.106 MB / 370.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000756/0.03269, allocations: 0.6617 MB / 370.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.03623, allocations: 2.872 MB / 373.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.03624, allocations: 0 / 373.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03624, allocations: 0 / 373.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.627e-05/0.03632, allocations: 0 / 373.7 MB, free: 15.33 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.004801/0.04113, allocations: 3.276 MB / 377 MB, free: 12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.04118, allocations: 12.03 kB / 377 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003715/0.04489, allocations: 1.996 MB / 379 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.04656, allocations: 1.199 MB / 380.2 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/0.04664, allocations: 123.4 kB / 380.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/0.04688, allocations: 156.3 kB / 380.4 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005111/0.05199, allocations: 3.975 MB / 384.4 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.365e-05/0.05205, allocations: 35.69 kB / 384.5 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.05226, allocations: 83.89 kB / 384.5 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001888/0.05414, allocations: 1.437 MB / 386 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005551/0.0597, allocations: 2.141 MB / 388.1 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02728/0.08698, allocations: 31.03 MB / 419.1 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.08959, allocations: 0.9228 MB / 420.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/0.09016, allocations: 343.1 kB / 420.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.09027, allocations: 28.31 kB / 420.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.09031, allocations: 45.7 kB / 420.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 4.378e-06/0.09031, allocations: 0 / 420.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.01159/0.1019, allocations: 4.888 MB / 425.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003483/0.1022, allocations: 145 kB / 425.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/0.1053, allocations: 2.514 MB / 428 MB, free: 6.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.851e-05/0.1053, allocations: 41.7 kB / 428.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.1067, allocations: 2.329 MB / 430.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.1072, allocations: 488.5 kB / 430.9 MB, free: 4.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.1082, allocations: 0.9727 MB / 431.8 MB, free: 3.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1084, allocations: 0.5355 MB / 432.4 MB, free: 2.555 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.1096, allocations: 468.5 kB / 432.8 MB, free: 2.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/0.1128, allocations: 4.711 MB / 437.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005574/0.1184, allocations: 5.71 MB / 443.3 MB, free: 3.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/0.1185, allocations: 28 kB / 443.3 MB, free: 3.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.1929/0.3114, allocations: 3.795 MB / 447.1 MB, free: 85.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.3115, allocations: 49.73 kB / 447.1 MB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002194/0.3117, allocations: 102.3 kB / 447.2 MB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/0.312, allocations: 135.9 kB / 447.4 MB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/0.3152, allocations: 1.23 MB / 448.6 MB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001479/0.3153, allocations: 202 kB / 448.8 MB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.3178, allocations: 286 kB / 449.1 MB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003779/0.3182, allocations: 285.8 kB / 449.3 MB, free: 85.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (557): * Single equations (assignments): 554 * 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.001046/0.3192, allocations: 0.5189 MB / 449.9 MB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.3196, allocations: 254.6 kB / 450.1 MB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.3207, allocations: 0.6264 MB / 450.7 MB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/0.3207, allocations: 15.62 kB / 450.7 MB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.3207, allocations: 1.094 kB / 450.7 MB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.3207, allocations: 10.64 kB / 450.8 MB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005446/0.3262, allocations: 3.248 MB / 454 MB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.3262, allocations: 4.438 kB / 454 MB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.3273, allocations: 374 kB / 454.4 MB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/0.3273, allocations: 8.25 kB / 454.4 MB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.339e-05/0.3274, allocations: 24.38 kB / 454.4 MB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.3274, allocations: 9.562 kB / 454.4 MB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.3274, allocations: 7.938 kB / 454.4 MB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.3293, allocations: 1.488 MB / 455.9 MB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007151/0.33, allocations: 362.9 kB / 456.3 MB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.3302, allocations: 25.88 kB / 456.3 MB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.3309, allocations: 95.09 kB / 456.4 MB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.331, allocations: 78.81 kB / 456.5 MB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/0.3311, allocations: 33.7 kB / 456.5 MB, free: 83.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001508/0.3326, allocations: 1.067 MB / 457.6 MB, free: 83.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3326, allocations: 0 / 457.6 MB, free: 83.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002998/0.3356, allocations: 0.6873 MB / 458.3 MB, free: 83.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * 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.0004043/0.336, allocations: 181.2 kB / 458.4 MB, free: 83.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.339, allocations: 1.938 MB / 460.4 MB, free: 83.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.339, allocations: 4.656 kB / 460.4 MB, free: 83.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.3394, allocations: 318.7 kB / 460.7 MB, free: 83.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3405, allocations: 237.8 kB / 460.9 MB, free: 83.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006303/0.3468, allocations: 4.572 MB / 465.5 MB, free: 81.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006919/0.3475, allocations: 0.7418 MB / 466.2 MB, free: 81.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001802/0.3493, allocations: 1.227 MB / 467.5 MB, free: 81.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004137/0.3497, allocations: 163 kB / 467.6 MB, free: 80.9 MB / 378.7 MB Notification: Performance of SimCode: time 3.236e-06/0.3497, allocations: 4 kB / 467.6 MB, free: 80.9 MB / 378.7 MB Notification: Performance of Templates: time 0.02789/0.3776, allocations: 18.36 MB / 486 MB, free: 64.05 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.0750807649455965]