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.00143/0.00143, allocations: 116.2 kB / 18.49 MB, free: 4.559 MB / 14.72 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.001609/0.001609, allocations: 218.9 kB / 21.46 MB, free: 1.605 MB / 14.72 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.521/1.521, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2304/0.2304, allocations: 46.93 MB / 357.8 MB, free: 10.3 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 55.91 kB / 0.4916 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1214, allocations: 65.99 MB / 0.556 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009611/0.131, allocations: 7.505 MB / 0.5634 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006335/0.1373, allocations: 3.38 MB / 0.5667 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006833/0.138, allocations: 39.81 kB / 0.5667 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.1397, allocations: 0.817 MB / 0.5675 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.1426, allocations: 1.308 MB / 0.5688 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1439, allocations: 0.534 MB / 0.5693 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003632/0.1475, allocations: 2.609 MB / 0.5718 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.1491, allocations: 1.088 MB / 0.5729 GB, free: 4.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.1502, allocations: 0.7822 MB / 0.5737 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.1521, allocations: 1.234 MB / 0.5749 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004871/0.1526, allocations: 143.9 kB / 0.575 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.1543, allocations: 0.9671 MB / 0.576 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.1554, allocations: 1.024 MB / 0.577 GB, free: 352 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.1567, allocations: 1.211 MB / 0.5781 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005036/0.1617, allocations: 4.038 MB / 0.5821 GB, free: 11.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1618, allocations: 0 / 0.5821 GB, free: 11.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1618, allocations: 0 / 0.5821 GB, free: 11.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.955e-05/0.1618, allocations: 4 kB / 0.5821 GB, free: 11.06 MB / 446.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.006204/0.168, allocations: 3.034 MB / 0.5851 GB, free: 7.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1681, allocations: 8.031 kB / 0.5851 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.556e-05/0.1682, allocations: 63.31 kB / 0.5851 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006726/0.1688, allocations: 458.5 kB / 0.5856 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006553/0.1754, allocations: 1.672 MB / 0.5872 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.1788, allocations: 1.551 MB / 0.5887 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.179, allocations: 131.1 kB / 0.5888 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005827/0.1796, allocations: 167.8 kB / 0.589 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2339/0.4135, allocations: 6.445 MB / 0.5953 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.871e-05/0.4136, allocations: 31.09 kB / 0.5953 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/0.4138, allocations: 84.91 kB / 0.5954 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002716/0.4165, allocations: 1.445 MB / 0.5968 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.4288, allocations: 5.724 MB / 0.6024 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02714/0.4559, allocations: 26.76 MB / 0.6285 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/0.4599, allocations: 2.065 MB / 0.6305 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.461, allocations: 0.9626 MB / 0.6315 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.4612, allocations: 183.8 kB / 0.6317 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4612, allocations: 38.48 kB / 0.6317 GB, free: 7.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=100): time 3.928e-06/0.4612, allocations: 0 / 0.6317 GB, free: 7.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=112): time 0.01468/0.4759, allocations: 6.51 MB / 0.6381 GB, free: 4.496 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.476, allocations: 140.5 kB / 0.6382 GB, free: 4.336 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/0.4793, allocations: 2.898 MB / 0.641 GB, free: 1.844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.4795, allocations: 41.7 kB / 0.6411 GB, free: 1.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.4806, allocations: 2.193 MB / 0.6432 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006326/0.4812, allocations: 479.4 kB / 0.6437 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.4825, allocations: 0.8895 MB / 0.6445 GB, free: 14.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4826, allocations: 309.1 kB / 0.6448 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.485, allocations: 1.418 MB / 0.6462 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005422/0.4905, allocations: 4.295 MB / 0.6504 GB, free: 6.816 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00841/0.4989, allocations: 6.191 MB / 0.6564 GB, free: 15.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.499, allocations: 32 kB / 0.6565 GB, free: 15.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01065/0.5096, allocations: 5.495 MB / 0.6618 GB, free: 9.664 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/0.5097, allocations: 48 kB / 0.6619 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/0.5098, allocations: 104 kB / 0.662 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.51, allocations: 135.8 kB / 0.6621 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004722/0.5147, allocations: 1.222 MB / 0.6633 GB, free: 8.164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002288/0.5149, allocations: 199.2 kB / 0.6635 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/0.518, allocations: 247.6 kB / 0.6637 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005758/0.5186, allocations: 279.7 kB / 0.664 GB, free: 7.457 MB / 478.1 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 (553): * Single equations (assignments): 550 * 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.002286/0.5209, allocations: 1.387 MB / 0.6654 GB, free: 6.055 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/0.5214, allocations: 250.3 kB / 0.6656 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.5237, allocations: 1.241 MB / 0.6668 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.5237, allocations: 12 kB / 0.6668 GB, free: 4.551 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5238, allocations: 4 kB / 0.6668 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5238, allocations: 4.734 kB / 0.6668 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008625/0.5324, allocations: 4.56 MB / 0.6713 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.5324, allocations: 15.64 kB / 0.6713 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/0.5345, allocations: 371.3 kB / 0.6716 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/0.5345, allocations: 8 kB / 0.6717 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.141e-05/0.5346, allocations: 22.03 kB / 0.6717 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.5346, allocations: 8 kB / 0.6717 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.84e-05/0.5346, allocations: 15.86 kB / 0.6717 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/0.5377, allocations: 2.172 MB / 0.6738 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/0.5382, allocations: 315.3 kB / 0.6741 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.5385, allocations: 23.98 kB / 0.6741 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009672/0.5395, allocations: 59.88 kB / 0.6742 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.5396, allocations: 78.77 kB / 0.6743 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.212e-05/0.5397, allocations: 32 kB / 0.6743 GB, free: 12.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003106/0.5428, allocations: 1.815 MB / 0.6761 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5428, allocations: 4 kB / 0.6761 GB, free: 10.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003325/0.5462, allocations: 0.6093 MB / 0.6767 GB, free: 10.28 MB / 494.1 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.003571/0.5497, allocations: 2.801 MB / 0.6794 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005474/0.5552, allocations: 3.136 MB / 0.6825 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.5552, allocations: 0 / 0.6825 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.5565, allocations: 0.741 MB / 0.6832 GB, free: 3.551 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.5583, allocations: 274 kB / 0.6835 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04763/0.606, allocations: 29.81 MB / 0.7126 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/0.6084, allocations: 2.21 MB / 0.7147 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003385/0.6118, allocations: 1.46 MB / 0.7162 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/0.6135, allocations: 1.085 MB / 0.7172 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of SimCode: time 1.242e-06/0.6135, allocations: 0 / 0.7172 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08218/0.6957, allocations: 41.55 MB / 0.7578 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.09/18.78, allocations: 3.859 kB / 0.7578 GB, free: 3.383 MB / 0.5606 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 22.4112152029993]