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.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.001401/0.001401, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.001631/0.001631, allocations: 217.6 kB / 22.99 MB, free: 4.965 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.566/1.566, allocations: 207.7 MB / 233.8 MB, free: 9.812 MB / 190.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.2345/0.2345, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 72.98 kB / 467.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1297, allocations: 61.04 MB / 0.5161 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009589/0.1392, allocations: 6.72 MB / 0.5227 GB, free: 460 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.1459, allocations: 3.143 MB / 0.5258 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008352/0.1467, allocations: 39.81 kB / 0.5258 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.1488, allocations: 0.7937 MB / 0.5266 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.1522, allocations: 1.354 MB / 0.5279 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1535, allocations: 0.534 MB / 0.5284 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003598/0.1571, allocations: 2.586 MB / 0.5309 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.1591, allocations: 1.158 MB / 0.5321 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.1604, allocations: 0.8017 MB / 0.5329 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.1622, allocations: 1.199 MB / 0.534 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003441/0.1625, allocations: 140 kB / 0.5342 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.1643, allocations: 0.8346 MB / 0.535 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.1654, allocations: 1.051 MB / 0.536 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.1665, allocations: 0.8885 MB / 0.5369 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2702/0.4367, allocations: 4.102 MB / 0.5409 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4367, allocations: 0.9375 kB / 0.5409 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4367, allocations: 0 / 0.5409 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001268/0.4368, allocations: 1.641 kB / 0.5409 GB, free: 14.66 MB / 414.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.008124/0.4449, allocations: 2.983 MB / 0.5438 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.445, allocations: 10.92 kB / 0.5438 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007623/0.4457, allocations: 458 kB / 0.5442 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006583/0.4523, allocations: 1.674 MB / 0.5459 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004555/0.4569, allocations: 1.761 MB / 0.5476 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.457, allocations: 123.7 kB / 0.5477 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.4575, allocations: 162.4 kB / 0.5479 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.4699, allocations: 6.459 MB / 0.5542 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.47, allocations: 40.55 kB / 0.5542 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/0.4703, allocations: 80.59 kB / 0.5543 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003101/0.4734, allocations: 1.435 MB / 0.5557 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.4859, allocations: 5.718 MB / 0.5613 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04294/0.5288, allocations: 25.82 MB / 0.5865 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004973/0.5338, allocations: 1.604 MB / 0.5881 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.5355, allocations: 0.9607 MB / 0.589 GB, free: 4.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.5357, allocations: 26.5 kB / 0.589 GB, free: 4.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.5357, allocations: 44.77 kB / 0.5891 GB, free: 4.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 3.777e-06/0.5357, allocations: 0 / 0.5891 GB, free: 4.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=112): time 0.0173/0.553, allocations: 6.604 MB / 0.5955 GB, free: 0.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.5531, allocations: 140.8 kB / 0.5956 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004557/0.5577, allocations: 3.097 MB / 0.5987 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.5579, allocations: 33.7 kB / 0.5987 GB, free: 13.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00197/0.5598, allocations: 2.207 MB / 0.6009 GB, free: 11.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.5604, allocations: 472.7 kB / 0.6013 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.5617, allocations: 0.8934 MB / 0.6022 GB, free: 9.848 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5618, allocations: 303 kB / 0.6025 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/0.5641, allocations: 1.418 MB / 0.6039 GB, free: 8.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004953/0.5691, allocations: 4.288 MB / 0.608 GB, free: 2.434 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008141/0.5772, allocations: 6.197 MB / 0.6141 GB, free: 11.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-05/0.5773, allocations: 28 kB / 0.6141 GB, free: 11.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.0126/0.5899, allocations: 5.502 MB / 0.6195 GB, free: 5.762 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.5901, allocations: 48 kB / 0.6195 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002855/0.5904, allocations: 104 kB / 0.6196 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.5906, allocations: 132 kB / 0.6198 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005117/0.5957, allocations: 1.221 MB / 0.621 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002588/0.596, allocations: 211.2 kB / 0.6212 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004172/0.6002, allocations: 235.7 kB / 0.6214 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/0.6012, allocations: 280 kB / 0.6216 GB, free: 3.551 MB / 462.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.003618/0.6049, allocations: 1.379 MB / 0.623 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007424/0.6056, allocations: 262.2 kB / 0.6232 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.6084, allocations: 1.241 MB / 0.6245 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-05/0.6084, allocations: 16.89 kB / 0.6245 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/0.6085, allocations: 9.203 kB / 0.6245 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.6085, allocations: 3.984 kB / 0.6245 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.6201, allocations: 4.349 MB / 0.6287 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/0.6201, allocations: 5.078 kB / 0.6287 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/0.622, allocations: 367.4 kB / 0.6291 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-05/0.6221, allocations: 8 kB / 0.6291 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.6222, allocations: 27.72 kB / 0.6291 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.376e-05/0.6222, allocations: 11.94 kB / 0.6291 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.6222, allocations: 8 kB / 0.6291 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.6255, allocations: 2.172 MB / 0.6313 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/0.6273, allocations: 406 kB / 0.6316 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008987/0.6282, allocations: 22.41 kB / 0.6317 GB, free: 9.129 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.6297, allocations: 62.92 kB / 0.6317 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.6298, allocations: 71.77 kB / 0.6318 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-05/0.6299, allocations: 36 kB / 0.6318 GB, free: 8.965 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003692/0.6336, allocations: 1.831 MB / 0.6336 GB, free: 7.129 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6336, allocations: 0 / 0.6336 GB, free: 7.129 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004297/0.6379, allocations: 0.6224 MB / 0.6342 GB, free: 6.508 MB / 478.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.00406/0.642, allocations: 2.814 MB / 0.637 GB, free: 3.617 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006813/0.6488, allocations: 3.145 MB / 0.64 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.902e-05/0.6488, allocations: 4 kB / 0.6401 GB, free: 0.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.6503, allocations: 0.7297 MB / 0.6408 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.6535, allocations: 279.3 kB / 0.641 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0577/0.7112, allocations: 29.9 MB / 0.6702 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003262/0.7145, allocations: 1.652 MB / 0.6718 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004177/0.7187, allocations: 1.465 MB / 0.6733 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002547/0.7212, allocations: 1.077 MB / 0.6743 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of SimCode: time 1.332e-06/0.7212, allocations: 0 / 0.6743 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09841/0.8196, allocations: 41.49 MB / 0.7148 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.1, allocations: 3.953 kB / 0.7148 GB, free: 15.87 MB / 0.5606 GB " [Timeout remaining time 645] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 18.40715250512585]