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.001371/0.001371, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001585/0.001585, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2519/0.2519, allocations: 46.94 MB / 361.7 MB, free: 4.273 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.00231/0.00231, allocations: 67.89 kB / 0.4969 GB, free: 7.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3521, allocations: 66.03 MB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01077/0.3629, allocations: 7.535 MB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00781/0.3707, allocations: 3.405 MB / 0.5721 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.3722, allocations: 39.81 kB / 0.5721 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.3744, allocations: 0.817 MB / 0.5729 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.3783, allocations: 1.319 MB / 0.5742 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.3798, allocations: 0.534 MB / 0.5747 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004268/0.3841, allocations: 2.601 MB / 0.5773 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.3859, allocations: 1.15 MB / 0.5784 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.3874, allocations: 0.7822 MB / 0.5792 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.3893, allocations: 1.226 MB / 0.5804 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.3897, allocations: 140 kB / 0.5805 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.3915, allocations: 0.9672 MB / 0.5814 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.3925, allocations: 1.036 MB / 0.5824 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.3938, allocations: 1.211 MB / 0.5836 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005645/0.3995, allocations: 4.042 MB / 0.5876 GB, free: 9.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3995, allocations: 0 / 0.5876 GB, free: 9.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3995, allocations: 3.938 kB / 0.5876 GB, free: 9.578 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.583e-05/0.3996, allocations: 0 / 0.5876 GB, free: 9.578 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.006435/0.406, allocations: 2.955 MB / 0.5905 GB, free: 6.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4061, allocations: 8.031 kB / 0.5905 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.793e-05/0.4061, allocations: 63.31 kB / 0.5905 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006078/0.4068, allocations: 458.5 kB / 0.591 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00648/0.4132, allocations: 1.676 MB / 0.5926 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/0.4167, allocations: 1.481 MB / 0.594 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.4168, allocations: 131.1 kB / 0.5942 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/0.4174, allocations: 167.8 kB / 0.5943 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.4281, allocations: 6.452 MB / 0.6006 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.48e-05/0.4282, allocations: 35.73 kB / 0.6007 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.4284, allocations: 87.89 kB / 0.6008 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002694/0.4311, allocations: 1.444 MB / 0.6022 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.4423, allocations: 5.732 MB / 0.6078 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03489/0.4772, allocations: 26.64 MB / 0.6338 GB, free: 8.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.4816, allocations: 1.619 MB / 0.6354 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.4831, allocations: 0.9565 MB / 0.6363 GB, free: 6.145 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.4832, allocations: 28.3 kB / 0.6363 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.4833, allocations: 46.83 kB / 0.6364 GB, free: 6.062 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.387e-06/0.4833, allocations: 0 / 0.6364 GB, free: 6.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01756/0.5009, allocations: 6.512 MB / 0.6427 GB, free: 15.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/0.501, allocations: 137 kB / 0.6429 GB, free: 15.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/0.5056, allocations: 2.898 MB / 0.6457 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002537/0.5058, allocations: 41.7 kB / 0.6457 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001943/0.5078, allocations: 2.194 MB / 0.6479 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006746/0.5084, allocations: 480.5 kB / 0.6483 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/0.5098, allocations: 0.8973 MB / 0.6492 GB, free: 8.816 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5099, allocations: 305.1 kB / 0.6495 GB, free: 8.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.5123, allocations: 1.414 MB / 0.6509 GB, free: 7.094 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005033/0.5173, allocations: 4.287 MB / 0.6551 GB, free: 1.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00846/0.5258, allocations: 6.193 MB / 0.6611 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/0.5259, allocations: 28 kB / 0.6611 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01101/0.5369, allocations: 5.491 MB / 0.6665 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.537, allocations: 50.5 kB / 0.6665 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/0.5372, allocations: 104 kB / 0.6666 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.5374, allocations: 140.7 kB / 0.6668 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/0.5422, allocations: 1.228 MB / 0.668 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002526/0.5425, allocations: 195.2 kB / 0.6682 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/0.5463, allocations: 247.6 kB / 0.6684 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007983/0.5471, allocations: 280 kB / 0.6687 GB, free: 1.984 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 (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.002963/0.5501, allocations: 1.387 MB / 0.67 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000599/0.5507, allocations: 250.3 kB / 0.6703 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.5532, allocations: 1.245 MB / 0.6715 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-05/0.5532, allocations: 15.94 kB / 0.6715 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5532, allocations: 4 kB / 0.6715 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.5532, allocations: 7.922 kB / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009368/0.5626, allocations: 4.523 MB / 0.6759 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.5626, allocations: 8 kB / 0.6759 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/0.5647, allocations: 367.3 kB / 0.6763 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/0.5647, allocations: 8 kB / 0.6763 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/0.5648, allocations: 27.98 kB / 0.6763 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.5648, allocations: 11.94 kB / 0.6763 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.5648, allocations: 4 kB / 0.6763 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.5679, allocations: 2.18 MB / 0.6785 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007389/0.5686, allocations: 238.1 kB / 0.6787 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004145/0.569, allocations: 27.98 kB / 0.6787 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.5701, allocations: 55.92 kB / 0.6788 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.5703, allocations: 75.77 kB / 0.6788 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.531e-05/0.5704, allocations: 32 kB / 0.6789 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003271/0.5736, allocations: 1.819 MB / 0.6806 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5736, allocations: 0 / 0.6806 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003828/0.5775, allocations: 0.6171 MB / 0.6812 GB, free: 4.902 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.003657/0.5811, allocations: 2.791 MB / 0.684 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005698/0.5868, allocations: 3.148 MB / 0.687 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.5868, allocations: 0 / 0.687 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.5882, allocations: 0.7357 MB / 0.6878 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.5902, allocations: 273.9 kB / 0.688 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05434/0.6445, allocations: 29.82 MB / 0.7171 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/0.6472, allocations: 2.205 MB / 0.7193 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003452/0.6506, allocations: 1.463 MB / 0.7207 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/0.6525, allocations: 1.073 MB / 0.7218 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/0.6525, allocations: 0 / 0.7218 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3292/0.9817, allocations: 45.19 MB / 0.7659 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.33/21.31, allocations: 16.14 kB / 0.7659 GB, free: 131.5 MB / 0.5606 GB " [Timeout remaining time 638] (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: 24.908340852009133]