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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2063/0.2063, allocations: 44.2 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 470 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3473, allocations: 60.83 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008436/0.3558, allocations: 7.476 MB / 0.5257 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006958/0.3628, allocations: 3.339 MB / 0.529 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.3643, allocations: 36.78 kB / 0.529 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.3666, allocations: 0.7884 MB / 0.5298 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004083/0.3707, allocations: 1.327 MB / 0.5311 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.3725, allocations: 0.5347 MB / 0.5316 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004169/0.3766, allocations: 2.569 MB / 0.5341 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002669/0.3793, allocations: 1.232 MB / 0.5353 GB, free: 8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.3808, allocations: 0.7791 MB / 0.5361 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.3825, allocations: 1.126 MB / 0.5372 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.3829, allocations: 138.6 kB / 0.5373 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.3848, allocations: 0.9443 MB / 0.5382 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.3859, allocations: 1.022 MB / 0.5392 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.3876, allocations: 1.224 MB / 0.5404 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004863/0.3924, allocations: 4.08 MB / 0.5444 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3925, allocations: 0 / 0.5444 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3925, allocations: 0 / 0.5444 GB, free: 1.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.305e-05/0.3925, allocations: 0 / 0.5444 GB, free: 1.477 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.00506/0.3976, allocations: 2.965 MB / 0.5473 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3977, allocations: 12.03 kB / 0.5473 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004852/0.3981, allocations: 462.5 kB / 0.5477 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00594/0.4041, allocations: 1.658 MB / 0.5494 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.4075, allocations: 1.66 MB / 0.551 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.705e-05/0.4076, allocations: 123.4 kB / 0.5511 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003527/0.408, allocations: 171.7 kB / 0.5513 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008723/0.4167, allocations: 6.453 MB / 0.5576 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.551e-05/0.4168, allocations: 35.66 kB / 0.5576 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.4171, allocations: 83.89 kB / 0.5577 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002347/0.4194, allocations: 1.433 MB / 0.5591 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009506/0.4289, allocations: 5.74 MB / 0.5647 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02928/0.4582, allocations: 26.71 MB / 0.5908 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.4624, allocations: 2.141 MB / 0.5928 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.4636, allocations: 1.035 MB / 0.5939 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.4638, allocations: 186.5 kB / 0.594 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.4639, allocations: 38.89 kB / 0.5941 GB, free: 12.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.677e-06/0.4639, allocations: 0 / 0.5941 GB, free: 12.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01634/0.4802, allocations: 6.378 MB / 0.6003 GB, free: 6.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.4804, allocations: 148.8 kB / 0.6004 GB, free: 6.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/0.4844, allocations: 2.894 MB / 0.6033 GB, free: 3.383 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.4846, allocations: 41.7 kB / 0.6033 GB, free: 3.336 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.486, allocations: 2.11 MB / 0.6054 GB, free: 1.195 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/0.4865, allocations: 458.2 kB / 0.6058 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.4875, allocations: 0.8849 MB / 0.6067 GB, free: 15.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4876, allocations: 301.1 kB / 0.607 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.4896, allocations: 1.418 MB / 0.6083 GB, free: 14.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003822/0.4935, allocations: 4.295 MB / 0.6125 GB, free: 8.375 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006501/0.5, allocations: 6.195 MB / 0.6186 GB, free: 0.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.619e-05/0.5, allocations: 28 kB / 0.6186 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008437/0.5085, allocations: 5.486 MB / 0.624 GB, free: 11.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.5086, allocations: 48 kB / 0.624 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/0.5087, allocations: 104.1 kB / 0.6241 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.5089, allocations: 132 kB / 0.6242 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/0.513, allocations: 1.224 MB / 0.6254 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001673/0.5132, allocations: 199.6 kB / 0.6256 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/0.5158, allocations: 251.7 kB / 0.6259 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004212/0.5163, allocations: 280 kB / 0.6261 GB, free: 9.008 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.001871/0.5182, allocations: 1.38 MB / 0.6275 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000512/0.5187, allocations: 240.8 kB / 0.6277 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.521, allocations: 1.242 MB / 0.6289 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/0.521, allocations: 15.94 kB / 0.6289 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.521, allocations: 4 kB / 0.6289 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.521, allocations: 3.984 kB / 0.6289 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008529/0.5296, allocations: 4.558 MB / 0.6334 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.5296, allocations: 4 kB / 0.6334 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/0.5315, allocations: 375.2 kB / 0.6338 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.5315, allocations: 8 kB / 0.6338 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.5316, allocations: 20 kB / 0.6338 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-05/0.5316, allocations: 15.92 kB / 0.6338 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5316, allocations: 4 kB / 0.6338 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.5343, allocations: 2.173 MB / 0.6359 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005882/0.5349, allocations: 297.9 kB / 0.6362 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.5351, allocations: 27.98 kB / 0.6362 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/0.536, allocations: 51.94 kB / 0.6363 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.5362, allocations: 71.8 kB / 0.6364 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.75e-05/0.5363, allocations: 35.98 kB / 0.6364 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002759/0.539, allocations: 1.819 MB / 0.6382 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5391, allocations: 4 kB / 0.6382 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003519/0.5426, allocations: 0.6366 MB / 0.6388 GB, free: 11.81 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.003285/0.5459, allocations: 2.789 MB / 0.6415 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005289/0.5512, allocations: 3.27 MB / 0.6447 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.5512, allocations: 4 kB / 0.6447 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.5523, allocations: 0.7804 MB / 0.6455 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.5543, allocations: 283 kB / 0.6457 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04088/0.5952, allocations: 29.71 MB / 0.6748 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/0.5973, allocations: 2.21 MB / 0.6769 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002995/0.6003, allocations: 1.459 MB / 0.6783 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/0.6018, allocations: 1.081 MB / 0.6794 GB, free: 14.12 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.6018, allocations: 0 / 0.6794 GB, free: 14.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08212/0.6839, allocations: 41.97 MB / 0.7204 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/16.92, allocations: 7.875 kB / 0.7204 GB, free: 4.355 MB / 0.5762 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) 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) Reference file matches