Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001706/0.001706, 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.001497/0.001497, 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.92 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 55.91 kB / 0.4938 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3717, allocations: 65.49 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009827/0.3815, allocations: 7.527 MB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006827/0.3884, allocations: 3.401 MB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.3893, allocations: 47.81 kB / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.3912, allocations: 0.8092 MB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.3946, allocations: 1.323 MB / 0.5706 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.396, allocations: 0.534 MB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.3999, allocations: 2.59 MB / 0.5736 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.4017, allocations: 1.17 MB / 0.5748 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.4029, allocations: 0.7822 MB / 0.5755 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.4048, allocations: 1.23 MB / 0.5767 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003993/0.4052, allocations: 140 kB / 0.5769 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.4071, allocations: 0.9594 MB / 0.5778 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.4083, allocations: 1.036 MB / 0.5788 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.4097, allocations: 1.215 MB / 0.58 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005718/0.4154, allocations: 4.038 MB / 0.5839 GB, free: 12.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.4154, allocations: 0 / 0.5839 GB, free: 12.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4154, allocations: 0 / 0.5839 GB, free: 12.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001444/0.4156, allocations: 0 / 0.5839 GB, free: 12.88 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.00688/0.4225, allocations: 2.955 MB / 0.5868 GB, free: 9.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4225, allocations: 12.03 kB / 0.5868 GB, free: 9.863 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.945e-05/0.4226, allocations: 63.31 kB / 0.5869 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006916/0.4233, allocations: 462.5 kB / 0.5873 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006398/0.4297, allocations: 1.676 MB / 0.589 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.4332, allocations: 1.481 MB / 0.5904 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.4334, allocations: 135.1 kB / 0.5906 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004364/0.4338, allocations: 163.8 kB / 0.5907 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.4446, allocations: 6.46 MB / 0.597 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.692e-05/0.4447, allocations: 27.75 kB / 0.597 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/0.4451, allocations: 87.89 kB / 0.5971 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002715/0.4478, allocations: 1.437 MB / 0.5985 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.459, allocations: 5.728 MB / 0.6041 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03535/0.4944, allocations: 26.64 MB / 0.6301 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.4987, allocations: 1.611 MB / 0.6317 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.5002, allocations: 0.9643 MB / 0.6327 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.5003, allocations: 28.3 kB / 0.6327 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.5004, allocations: 46.83 kB / 0.6327 GB, free: 9.363 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.226e-06/0.5004, allocations: 0 / 0.6327 GB, free: 9.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01672/0.5171, allocations: 6.516 MB / 0.6391 GB, free: 2.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.5172, allocations: 137 kB / 0.6392 GB, free: 2.664 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/0.5217, allocations: 2.894 MB / 0.6421 GB, free: 15.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002445/0.5219, allocations: 41.7 kB / 0.6421 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001889/0.5238, allocations: 2.194 MB / 0.6442 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006488/0.5245, allocations: 476.5 kB / 0.6447 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/0.5258, allocations: 0.8973 MB / 0.6456 GB, free: 12.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5259, allocations: 305.1 kB / 0.6459 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/0.5284, allocations: 1.426 MB / 0.6473 GB, free: 10.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005865/0.5342, allocations: 4.283 MB / 0.6514 GB, free: 4.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008736/0.543, allocations: 6.194 MB / 0.6575 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.821e-05/0.5431, allocations: 28.19 kB / 0.6575 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01128/0.5544, allocations: 5.499 MB / 0.6629 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/0.5544, allocations: 48 kB / 0.6629 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.5546, allocations: 104 kB / 0.663 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.5547, allocations: 135.9 kB / 0.6632 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004709/0.5595, allocations: 1.225 MB / 0.6644 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002082/0.5597, allocations: 203.2 kB / 0.6645 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.5628, allocations: 243.7 kB / 0.6648 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006454/0.5634, allocations: 276 kB / 0.665 GB, free: 5.277 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.00236/0.5658, allocations: 1.383 MB / 0.6664 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005139/0.5663, allocations: 250.3 kB / 0.6666 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.5685, allocations: 1.237 MB / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/0.5685, allocations: 23.81 kB / 0.6679 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.5685, allocations: 4 kB / 0.6679 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.5685, allocations: 3.984 kB / 0.6679 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008651/0.5772, allocations: 4.531 MB / 0.6723 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.5772, allocations: 8 kB / 0.6723 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/0.5791, allocations: 371.3 kB / 0.6727 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-05/0.5791, allocations: 11.98 kB / 0.6727 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.5792, allocations: 20 kB / 0.6727 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/0.5793, allocations: 8 kB / 0.6727 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/0.5793, allocations: 7.938 kB / 0.6727 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002953/0.5822, allocations: 2.172 MB / 0.6748 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/0.5829, allocations: 242.3 kB / 0.6751 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/0.5832, allocations: 24 kB / 0.6751 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009659/0.5842, allocations: 59.91 kB / 0.6751 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.5843, allocations: 71.77 kB / 0.6752 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-05/0.5844, allocations: 39.94 kB / 0.6752 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003031/0.5875, allocations: 1.819 MB / 0.677 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5875, allocations: 0 / 0.677 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003538/0.591, allocations: 0.6209 MB / 0.6776 GB, free: 8.195 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.003616/0.5946, allocations: 2.783 MB / 0.6803 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005511/0.6001, allocations: 3.148 MB / 0.6834 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.6001, allocations: 0 / 0.6834 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.6013, allocations: 0.7432 MB / 0.6841 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.6032, allocations: 267.7 kB / 0.6844 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04782/0.6511, allocations: 29.82 MB / 0.7135 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/0.6535, allocations: 2.21 MB / 0.7157 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00338/0.6569, allocations: 1.463 MB / 0.7171 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/0.6588, allocations: 1.073 MB / 0.7181 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/0.6588, allocations: 0 / 0.7181 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3284/0.9872, allocations: 45.19 MB / 0.7623 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.63/21.62, allocations: 12 kB / 0.7623 GB, free: 137.7 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 25.09456673002569]