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.00193/0.00193, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 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.002038/0.002038, allocations: 210.8 kB / 22.99 MB, free: 5.609 MB / 14.72 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 1.515/1.515, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] 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.2309/0.2309, allocations: 46.91 MB / 359.4 MB, free: 4.949 MB / 286.1 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.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|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.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 83.86 kB / 0.4946 GB, free: 8.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3671, allocations: 65.98 MB / 0.5591 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01083/0.3779, allocations: 7.544 MB / 0.5664 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008166/0.3861, allocations: 3.395 MB / 0.5697 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.3874, allocations: 31.94 kB / 0.5698 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.3894, allocations: 0.817 MB / 0.5706 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.3937, allocations: 1.319 MB / 0.5719 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.3953, allocations: 0.534 MB / 0.5724 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.3996, allocations: 2.597 MB / 0.5749 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.4014, allocations: 1.017 MB / 0.5759 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.4029, allocations: 0.7705 MB / 0.5767 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.4048, allocations: 1.234 MB / 0.5779 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004349/0.4053, allocations: 136 kB / 0.578 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.4073, allocations: 0.9632 MB / 0.5789 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.4086, allocations: 1.028 MB / 0.5799 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.4102, allocations: 1.207 MB / 0.5811 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006188/0.4164, allocations: 4.037 MB / 0.5851 GB, free: 10.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4164, allocations: 0 / 0.5851 GB, free: 10.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4164, allocations: 3.938 kB / 0.5851 GB, free: 10.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001014/0.4165, allocations: 4 kB / 0.5851 GB, free: 10.3 MB / 430.1 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.006376/0.4229, allocations: 3.013 MB / 0.588 GB, free: 7.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.4229, allocations: 12.03 kB / 0.588 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006139/0.4291, allocations: 1.664 MB / 0.5896 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.4324, allocations: 1.329 MB / 0.5909 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.4325, allocations: 127.4 kB / 0.5911 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004074/0.4329, allocations: 160 kB / 0.5912 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.445, allocations: 6.456 MB / 0.5975 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.4451, allocations: 35.7 kB / 0.5976 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.4453, allocations: 87.89 kB / 0.5976 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002529/0.4479, allocations: 1.433 MB / 0.599 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.4597, allocations: 5.732 MB / 0.6046 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03473/0.4944, allocations: 26.77 MB / 0.6308 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004397/0.4988, allocations: 2.059 MB / 0.6328 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.5002, allocations: 0.9608 MB / 0.6337 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.5004, allocations: 178.5 kB / 0.6339 GB, free: 6.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.5004, allocations: 42.89 kB / 0.6339 GB, free: 6.535 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.406e-06/0.5004, allocations: 0 / 0.6339 GB, free: 6.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01566/0.5161, allocations: 6.503 MB / 0.6403 GB, free: 20 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.5162, allocations: 148.8 kB / 0.6404 GB, free: 15.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/0.5205, allocations: 2.89 MB / 0.6433 GB, free: 12.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.5207, allocations: 41.7 kB / 0.6433 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.5225, allocations: 2.186 MB / 0.6454 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005791/0.5231, allocations: 476.5 kB / 0.6459 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/0.5243, allocations: 0.9052 MB / 0.6468 GB, free: 9.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5244, allocations: 301.1 kB / 0.6471 GB, free: 9.004 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.5267, allocations: 1.426 MB / 0.6484 GB, free: 7.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004649/0.5314, allocations: 4.299 MB / 0.6526 GB, free: 1.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008457/0.5398, allocations: 6.2 MB / 0.6587 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.721e-05/0.5399, allocations: 28 kB / 0.6587 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01003/0.55, allocations: 5.532 MB / 0.6641 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/0.55, allocations: 48 kB / 0.6642 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001683/0.5502, allocations: 104 kB / 0.6643 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001518/0.5503, allocations: 132 kB / 0.6644 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00423/0.5546, allocations: 1.233 MB / 0.6656 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001807/0.5548, allocations: 199.2 kB / 0.6658 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.5576, allocations: 243.6 kB / 0.666 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/0.5581, allocations: 291.9 kB / 0.6663 GB, free: 2.391 MB / 0.4981 GB 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.002027/0.5601, allocations: 1.38 MB / 0.6677 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/0.5605, allocations: 250.3 kB / 0.6679 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.5625, allocations: 1.238 MB / 0.6691 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.5626, allocations: 16 kB / 0.6691 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.5626, allocations: 7.922 kB / 0.6691 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.5626, allocations: 7.922 kB / 0.6691 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008093/0.5707, allocations: 4.547 MB / 0.6736 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.5707, allocations: 4 kB / 0.6736 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/0.5725, allocations: 371.3 kB / 0.6739 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.5725, allocations: 8 kB / 0.6739 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.581e-05/0.5726, allocations: 27.98 kB / 0.674 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.5726, allocations: 8 kB / 0.674 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.5726, allocations: 7.938 kB / 0.674 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.5757, allocations: 2.178 MB / 0.6761 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006054/0.5763, allocations: 319.2 kB / 0.6764 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.5766, allocations: 16 kB / 0.6764 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008805/0.5775, allocations: 59.92 kB / 0.6765 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.5777, allocations: 71.8 kB / 0.6766 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.366e-05/0.5777, allocations: 36 kB / 0.6766 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002925/0.5807, allocations: 1.815 MB / 0.6784 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5807, allocations: 0 / 0.6784 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003364/0.584, allocations: 0.617 MB / 0.679 GB, free: 5.199 MB / 0.5137 GB 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.0003612/0.5844, allocations: 158.8 kB / 0.6791 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00558/0.59, allocations: 3.162 MB / 0.6822 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.59, allocations: 4 kB / 0.6822 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.5911, allocations: 0.7412 MB / 0.6829 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.5931, allocations: 274.5 kB / 0.6832 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.6036, allocations: 5.622 MB / 0.6887 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/0.6065, allocations: 2.21 MB / 0.6908 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003566/0.6101, allocations: 1.463 MB / 0.6923 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006069/0.6107, allocations: 167.4 kB / 0.6924 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of SimCode: time 2.255e-06/0.6107, allocations: 8 kB / 0.6924 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of Templates: time 0.04557/0.6563, allocations: 20.89 MB / 0.7128 GB, free: 2.438 MB / 0.545 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.422933698631823]