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.00125/0.00125, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001373/0.001373, allocations: 192 kB / 18.55 MB, free: 4.566 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.309/1.309, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.1971/0.1971, allocations: 44.18 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.23 kB / 408.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09656/0.09792, allocations: 60.83 MB / 469.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.007326/0.1053, allocations: 7.463 MB / 476.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00493/0.1102, allocations: 3.351 MB / 480.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.1109, allocations: 39.88 kB / 480.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.1123, allocations: 0.7937 MB / 481 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.1147, allocations: 1.327 MB / 482.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000901/0.1156, allocations: 0.5262 MB / 482.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.1177, allocations: 2.563 MB / 485.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.1188, allocations: 1.241 MB / 486.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005642/0.1193, allocations: 0.7666 MB / 487.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009715/0.1203, allocations: 1.133 MB / 488.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.1205, allocations: 140 kB / 488.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.1217, allocations: 0.9516 MB / 489.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000652/0.1224, allocations: 1.017 MB / 490.7 MB, free: 8.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007843/0.1232, allocations: 1.223 MB / 491.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.1259, allocations: 3.886 MB / 495.8 MB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1259, allocations: 0 / 495.8 MB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1259, allocations: 3.938 kB / 495.8 MB, free: 3.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.1259, allocations: 0 / 495.8 MB, free: 3.781 MB / 366.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.003727/0.1296, allocations: 2.957 MB / 498.7 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.1297, allocations: 15.97 kB / 498.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003979/0.1301, allocations: 458.5 kB / 499.2 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/0.1355, allocations: 1.662 MB / 0.4891 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.1375, allocations: 1.644 MB / 0.4907 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/0.1376, allocations: 123.4 kB / 0.4908 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.1379, allocations: 163.8 kB / 0.491 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00675/0.1447, allocations: 6.46 MB / 0.4973 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-05/0.1447, allocations: 31.66 kB / 0.4973 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.1449, allocations: 83.89 kB / 0.4974 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002087/0.147, allocations: 1.437 MB / 0.4988 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1824/0.3294, allocations: 5.722 MB / 0.5044 GB, free: 44.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02359/0.353, allocations: 26.8 MB / 0.5306 GB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003558/0.3566, allocations: 2.14 MB / 0.5327 GB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.3577, allocations: 1.036 MB / 0.5337 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.3579, allocations: 180.2 kB / 0.5339 GB, free: 23.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.3579, allocations: 43.36 kB / 0.5339 GB, free: 23.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.045e-06/0.3579, allocations: 0 / 0.5339 GB, free: 23.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01245/0.3703, allocations: 6.381 MB / 0.5401 GB, free: 19.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3704, allocations: 147.3 kB / 0.5403 GB, free: 19.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.3729, allocations: 2.893 MB / 0.5431 GB, free: 18.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.373, allocations: 37.67 kB / 0.5431 GB, free: 18.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007077/0.3737, allocations: 2.114 MB / 0.5452 GB, free: 16.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.3739, allocations: 460.7 kB / 0.5456 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007064/0.3746, allocations: 0.881 MB / 0.5465 GB, free: 14.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.405e-05/0.3747, allocations: 301.1 kB / 0.5468 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.3761, allocations: 1.426 MB / 0.5482 GB, free: 13.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.3783, allocations: 4.287 MB / 0.5524 GB, free: 7.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/0.3823, allocations: 6.203 MB / 0.5584 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-05/0.3824, allocations: 28 kB / 0.5584 GB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.007512/0.3899, allocations: 5.481 MB / 0.5638 GB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.39, allocations: 51.38 kB / 0.5638 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.018e-05/0.3901, allocations: 107.9 kB / 0.5639 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.3902, allocations: 132.1 kB / 0.5641 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/0.3938, allocations: 1.216 MB / 0.5653 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001333/0.394, allocations: 203.6 kB / 0.5655 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.3963, allocations: 251.5 kB / 0.5657 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/0.3966, allocations: 284.1 kB / 0.566 GB, free: 7.984 MB / 398.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.001561/0.3982, allocations: 1.384 MB / 0.5673 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.3985, allocations: 236.9 kB / 0.5675 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.4003, allocations: 1.245 MB / 0.5688 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.4003, allocations: 12 kB / 0.5688 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.4003, allocations: 6.188 kB / 0.5688 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.4003, allocations: 3.984 kB / 0.5688 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.4068, allocations: 4.561 MB / 0.5732 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.4068, allocations: 4 kB / 0.5732 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.4086, allocations: 375.8 kB / 0.5736 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.4086, allocations: 8 kB / 0.5736 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/0.4087, allocations: 24 kB / 0.5736 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.4087, allocations: 15.92 kB / 0.5736 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4087, allocations: 4 kB / 0.5736 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.4108, allocations: 2.158 MB / 0.5758 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.4112, allocations: 307.8 kB / 0.576 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.4115, allocations: 27.58 kB / 0.5761 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008309/0.4123, allocations: 63.92 kB / 0.5761 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.4124, allocations: 63.81 kB / 0.5762 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.4125, allocations: 35.98 kB / 0.5762 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002059/0.4146, allocations: 1.819 MB / 0.578 GB, free: 11.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4146, allocations: 4 kB / 0.578 GB, free: 11.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002623/0.4172, allocations: 0.6302 MB / 0.5786 GB, free: 10.81 MB / 414.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.002685/0.4199, allocations: 2.797 MB / 0.5814 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004679/0.4246, allocations: 3.46 MB / 0.5847 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.4246, allocations: 4 kB / 0.5847 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009411/0.4256, allocations: 0.7814 MB / 0.5855 GB, free: 3.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.4271, allocations: 275.9 kB / 0.5858 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/0.4608, allocations: 32.36 MB / 0.6174 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/0.4626, allocations: 2.202 MB / 0.6195 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003029/0.4657, allocations: 1.465 MB / 0.621 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/0.4669, allocations: 1.081 MB / 0.622 GB, free: 8.98 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4669, allocations: 0 / 0.622 GB, free: 8.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6014/1.068, allocations: 44.25 MB / 0.6652 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.261/10.33, allocations: 7.453 kB / 0.6652 GB, free: 12.92 MB / 0.4981 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