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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 112.6 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 191.7 kB / 20.08 MB, free: 3.012 MB / 14.72 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 1.492/1.492, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] 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.3582/0.3582, allocations: 44.22 MB / 326.5 MB, free: 6.836 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 71.89 kB / 462.1 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3165, allocations: 60.99 MB / 0.5109 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009554/0.326, allocations: 7.548 MB / 0.5182 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006458/0.3325, allocations: 3.36 MB / 0.5215 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.3338, allocations: 35.88 kB / 0.5216 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.3354, allocations: 0.8131 MB / 0.5224 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.3379, allocations: 1.345 MB / 0.5237 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009044/0.3388, allocations: 0.5301 MB / 0.5242 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002832/0.3417, allocations: 2.576 MB / 0.5267 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.343, allocations: 1.112 MB / 0.5278 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000982/0.344, allocations: 0.7783 MB / 0.5285 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.3456, allocations: 1.238 MB / 0.5298 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.3459, allocations: 140 kB / 0.5299 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.3477, allocations: 0.9711 MB / 0.5308 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.3487, allocations: 1.044 MB / 0.5319 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.3501, allocations: 1.238 MB / 0.5331 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005236/0.3553, allocations: 4.098 MB / 0.5371 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3553, allocations: 0 / 0.5371 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3553, allocations: 0 / 0.5371 GB, free: 4.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.782e-05/0.3554, allocations: 0 / 0.5371 GB, free: 4.102 MB / 398.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.006231/0.3616, allocations: 3.069 MB / 0.5401 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.3617, allocations: 11.89 kB / 0.5401 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006261/0.3623, allocations: 454.5 kB / 0.5405 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006045/0.3684, allocations: 1.68 MB / 0.5422 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/0.3728, allocations: 1.805 MB / 0.5439 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.3729, allocations: 131.4 kB / 0.544 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/0.3734, allocations: 163.8 kB / 0.5442 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.3857, allocations: 6.464 MB / 0.5505 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.562e-05/0.3858, allocations: 27.75 kB / 0.5505 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.3861, allocations: 83.89 kB / 0.5506 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/0.3888, allocations: 1.441 MB / 0.552 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.4006, allocations: 5.728 MB / 0.5576 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03722/0.4378, allocations: 26.77 MB / 0.5838 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00503/0.4428, allocations: 2.071 MB / 0.5858 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.4445, allocations: 0.9681 MB / 0.5867 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.4448, allocations: 178.5 kB / 0.5869 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.4448, allocations: 46.83 kB / 0.5869 GB, free: 15.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 2.935e-06/0.4448, allocations: 0 / 0.5869 GB, free: 15.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.0176/0.4624, allocations: 6.557 MB / 0.5933 GB, free: 8.742 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.4625, allocations: 152.8 kB / 0.5935 GB, free: 8.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004702/0.4672, allocations: 2.919 MB / 0.5963 GB, free: 5.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002308/0.4675, allocations: 41.7 kB / 0.5964 GB, free: 5.586 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002131/0.4696, allocations: 2.206 MB / 0.5985 GB, free: 3.359 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006942/0.4703, allocations: 472.5 kB / 0.599 GB, free: 2.895 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/0.4717, allocations: 0.8973 MB / 0.5999 GB, free: 1.984 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002622/0.4719, allocations: 305.1 kB / 0.6002 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002595/0.4745, allocations: 1.414 MB / 0.6015 GB, free: 268 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005898/0.4804, allocations: 4.287 MB / 0.6057 GB, free: 10.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009019/0.4895, allocations: 6.191 MB / 0.6118 GB, free: 2.898 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/0.4896, allocations: 28.19 kB / 0.6118 GB, free: 2.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01057/0.5001, allocations: 5.501 MB / 0.6172 GB, free: 13.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.5002, allocations: 48 kB / 0.6172 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.5003, allocations: 104 kB / 0.6173 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.5005, allocations: 136 kB / 0.6174 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004023/0.5045, allocations: 1.228 MB / 0.6186 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001759/0.5047, allocations: 199.2 kB / 0.6188 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.5074, allocations: 235.7 kB / 0.6191 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004656/0.5078, allocations: 276 kB / 0.6193 GB, free: 11.15 MB / 494.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.002412/0.5102, allocations: 1.392 MB / 0.6207 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006128/0.5108, allocations: 262.2 kB / 0.6209 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.513, allocations: 1.238 MB / 0.6221 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/0.513, allocations: 15.94 kB / 0.6221 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.513, allocations: 0 / 0.6221 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.513, allocations: 7.984 kB / 0.6222 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008805/0.5218, allocations: 4.574 MB / 0.6266 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.5219, allocations: 4 kB / 0.6266 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.5237, allocations: 367.3 kB / 0.627 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.5237, allocations: 8 kB / 0.627 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.926e-05/0.5238, allocations: 20.5 kB / 0.627 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.809e-05/0.5238, allocations: 19.92 kB / 0.627 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.5238, allocations: 8 kB / 0.627 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.5268, allocations: 2.173 MB / 0.6292 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.528, allocations: 471.1 kB / 0.6296 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.5282, allocations: 27.98 kB / 0.6296 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009708/0.5292, allocations: 55.94 kB / 0.6297 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.5293, allocations: 67.8 kB / 0.6297 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.301e-05/0.5294, allocations: 32 kB / 0.6298 GB, free: 216 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003159/0.5326, allocations: 1.839 MB / 0.6316 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5326, allocations: 0 / 0.6316 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003727/0.5363, allocations: 0.6288 MB / 0.6322 GB, free: 13.74 MB / 0.4981 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.003734/0.54, allocations: 2.806 MB / 0.6349 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006049/0.5461, allocations: 3.137 MB / 0.638 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.5461, allocations: 5.938 kB / 0.638 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.5472, allocations: 0.7463 MB / 0.6387 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.5491, allocations: 274.9 kB / 0.639 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2684/0.8175, allocations: 29.91 MB / 0.6682 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.8191, allocations: 2.207 MB / 0.6704 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002578/0.8217, allocations: 1.458 MB / 0.6718 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.8228, allocations: 1.089 MB / 0.6728 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/0.8228, allocations: 0 / 0.6728 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06635/0.8891, allocations: 41.71 MB / 0.7136 GB, free: 61.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/18.23, allocations: 8.062 kB / 0.7136 GB, free: 61.75 MB / 0.4981 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 21.324896957725286]