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) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 111 kB / 16.41 MB, free: 6.496 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.001295/0.001295, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2127/0.2127, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB 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.001963/0.001963, allocations: 73.45 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1082, allocations: 57.78 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009551/0.1178, allocations: 7.511 MB / 0.4947 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007203/0.125, allocations: 3.338 MB / 0.498 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009022/0.126, allocations: 31.94 kB / 0.498 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.1278, allocations: 0.7936 MB / 0.4988 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.1313, allocations: 1.323 MB / 0.5001 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1328, allocations: 0.5301 MB / 0.5006 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003844/0.1366, allocations: 2.59 MB / 0.5031 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.1384, allocations: 1.233 MB / 0.5043 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.1397, allocations: 0.7822 MB / 0.5051 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.1414, allocations: 1.133 MB / 0.5062 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003869/0.1418, allocations: 140 kB / 0.5063 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.1436, allocations: 0.9399 MB / 0.5072 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.1447, allocations: 1.021 MB / 0.5082 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.1463, allocations: 1.23 MB / 0.5094 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.1518, allocations: 4.1 MB / 0.5134 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1519, allocations: 0 / 0.5134 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1519, allocations: 0 / 0.5134 GB, free: 1.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.605e-05/0.152, allocations: 4 kB / 0.5134 GB, free: 1.523 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.006/0.158, allocations: 3.049 MB / 0.5164 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1581, allocations: 15.83 kB / 0.5164 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006489/0.1587, allocations: 470.4 kB / 0.5169 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/0.1651, allocations: 1.676 MB / 0.5185 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.1687, allocations: 1.805 MB / 0.5203 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.1688, allocations: 123.4 kB / 0.5204 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000419/0.1693, allocations: 163.8 kB / 0.5205 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00987/0.1791, allocations: 6.472 MB / 0.5269 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.596e-05/0.1792, allocations: 27.75 kB / 0.5269 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.1795, allocations: 87.89 kB / 0.527 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002533/0.182, allocations: 1.437 MB / 0.5284 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2222/0.4043, allocations: 5.718 MB / 0.534 GB, free: 35.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03085/0.4351, allocations: 26.78 MB / 0.5601 GB, free: 16.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004243/0.4394, allocations: 2.137 MB / 0.5622 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.4411, allocations: 1.047 MB / 0.5632 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.4413, allocations: 179.2 kB / 0.5634 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.4413, allocations: 46.23 kB / 0.5634 GB, free: 14.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.797e-06/0.4413, allocations: 0 / 0.5634 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01528/0.4566, allocations: 6.572 MB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.4567, allocations: 140.8 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/0.4601, allocations: 2.927 MB / 0.5729 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.4603, allocations: 37.08 kB / 0.5729 GB, free: 10 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008585/0.4611, allocations: 2.198 MB / 0.575 GB, free: 8.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.4614, allocations: 480.7 kB / 0.5755 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008669/0.4623, allocations: 0.8987 MB / 0.5764 GB, free: 7.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.4624, allocations: 301.1 kB / 0.5767 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.464, allocations: 1.418 MB / 0.578 GB, free: 6.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.4665, allocations: 4.291 MB / 0.5822 GB, free: 284 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007577/0.4741, allocations: 6.187 MB / 0.5883 GB, free: 8.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.65e-05/0.4742, allocations: 28 kB / 0.5883 GB, free: 8.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009759/0.484, allocations: 5.499 MB / 0.5937 GB, free: 3.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.327e-05/0.4841, allocations: 51.98 kB / 0.5937 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.4843, allocations: 104 kB / 0.5938 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/0.4844, allocations: 135.9 kB / 0.594 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004423/0.4888, allocations: 1.216 MB / 0.5951 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001919/0.4891, allocations: 203.6 kB / 0.5953 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/0.492, allocations: 244.6 kB / 0.5956 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/0.4925, allocations: 283.8 kB / 0.5958 GB, free: 0.9102 MB / 430.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.002343/0.4949, allocations: 1.385 MB / 0.5972 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005432/0.4954, allocations: 258.3 kB / 0.5974 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.4977, allocations: 1.244 MB / 0.5987 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/0.4977, allocations: 16 kB / 0.5987 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.4977, allocations: 3.984 kB / 0.5987 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4977, allocations: 3.984 kB / 0.5987 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008472/0.5062, allocations: 4.562 MB / 0.6031 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.5063, allocations: 8.938 kB / 0.6031 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/0.5081, allocations: 372.2 kB / 0.6035 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.5082, allocations: 8 kB / 0.6035 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.5083, allocations: 27.98 kB / 0.6035 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.5083, allocations: 11.94 kB / 0.6035 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.5083, allocations: 4 kB / 0.6035 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.5114, allocations: 2.173 MB / 0.6057 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008774/0.5123, allocations: 471.1 kB / 0.6061 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.5125, allocations: 26.48 kB / 0.6061 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009081/0.5135, allocations: 59.67 kB / 0.6062 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.5136, allocations: 68.09 kB / 0.6063 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.954e-05/0.5137, allocations: 39.98 kB / 0.6063 GB, free: 6.008 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002957/0.5167, allocations: 1.831 MB / 0.6081 GB, free: 4.172 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5167, allocations: 3.938 kB / 0.6081 GB, free: 4.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003378/0.5201, allocations: 0.6249 MB / 0.6087 GB, free: 3.543 MB / 446.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.003377/0.5235, allocations: 2.799 MB / 0.6114 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005347/0.5289, allocations: 3.274 MB / 0.6146 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5289, allocations: 3.938 kB / 0.6146 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.5301, allocations: 0.795 MB / 0.6154 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.5319, allocations: 272.9 kB / 0.6157 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04362/0.5755, allocations: 29.91 MB / 0.6449 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002331/0.5779, allocations: 2.215 MB / 0.647 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003164/0.5811, allocations: 1.462 MB / 0.6485 GB, free: 6.738 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/0.5827, allocations: 1.085 MB / 0.6495 GB, free: 5.652 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5827, allocations: 0 / 0.6495 GB, free: 5.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08339/0.6661, allocations: 41.43 MB / 0.69 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/18, allocations: 0 / 0.69 GB, free: 12.23 MB / 0.5294 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) 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) Reference file matches