Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008656/0.0008657, allocations: 176 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.4 MB / 222.9 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007533/0.0007533, allocations: 90.3 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2798/0.2798, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 16 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09503, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.1711/0.2662, allocations: 13.01 MB / 0.4921 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007594/0.2738, allocations: 4.17 MB / 0.4962 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.2756, allocations: 59 kB / 0.4962 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.277, allocations: 0.6131 MB / 0.4968 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004874/0.2819, allocations: 2.165 MB / 0.499 GB, free: 33.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2831, allocations: 485.6 kB / 0.4994 GB, free: 33.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003044/0.2862, allocations: 2.78 MB / 0.5021 GB, free: 33.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.2878, allocations: 1.444 MB / 0.5035 GB, free: 33.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008518/0.2887, allocations: 0.7171 MB / 0.5042 GB, free: 33.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.29, allocations: 1.154 MB / 0.5054 GB, free: 33.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.2902, allocations: 79.53 kB / 0.5054 GB, free: 33.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.2918, allocations: 0.9144 MB / 0.5063 GB, free: 33.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006608/0.2924, allocations: 0.9699 MB / 0.5073 GB, free: 32.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007485/0.2932, allocations: 1.131 MB / 0.5084 GB, free: 32.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.2955, allocations: 3.028 MB / 0.5113 GB, free: 32.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2955, allocations: 2.938 kB / 0.5113 GB, free: 32.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.2955, allocations: 3.422 kB / 0.5114 GB, free: 32.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.601e-05/0.2956, allocations: 0 / 0.5114 GB, free: 32.07 MB / 378.7 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.003929/0.2996, allocations: 2.474 MB / 0.5138 GB, free: 30.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.2996, allocations: 9.812 kB / 0.5138 GB, free: 30.6 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000502/0.3001, allocations: 464 kB / 0.5142 GB, free: 30.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005249/0.3054, allocations: 1.702 MB / 0.5159 GB, free: 30.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.3081, allocations: 1.793 MB / 0.5176 GB, free: 29.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.3082, allocations: 126.5 kB / 0.5178 GB, free: 29.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003154/0.3085, allocations: 160.4 kB / 0.5179 GB, free: 29.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007401/0.3159, allocations: 6.445 MB / 0.5242 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.673e-05/0.316, allocations: 37.53 kB / 0.5242 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.3162, allocations: 81.28 kB / 0.5243 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.3184, allocations: 1.448 MB / 0.5257 GB, free: 25.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009063/0.3275, allocations: 5.713 MB / 0.5313 GB, free: 24.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02383/0.3514, allocations: 26.8 MB / 0.5575 GB, free: 18.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.3549, allocations: 2.131 MB / 0.5596 GB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.356, allocations: 1.05 MB / 0.5606 GB, free: 16.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.3562, allocations: 175 kB / 0.5607 GB, free: 16.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3563, allocations: 46.02 kB / 0.5608 GB, free: 16.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 3.707e-06/0.3563, allocations: 1.625 kB / 0.5608 GB, free: 16.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.01444/0.3707, allocations: 6.397 MB / 0.567 GB, free: 9.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.3708, allocations: 140.9 kB / 0.5672 GB, free: 9.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/0.3745, allocations: 2.906 MB / 0.57 GB, free: 6.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.3747, allocations: 33.7 kB / 0.57 GB, free: 6.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.3761, allocations: 2.109 MB / 0.5721 GB, free: 4.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005006/0.3766, allocations: 457.1 kB / 0.5725 GB, free: 4.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.3768, allocations: 91.94 kB / 0.5726 GB, free: 4.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002625/0.3771, allocations: 495.8 kB / 0.5731 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.3791, allocations: 1.406 MB / 0.5745 GB, free: 2.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/0.383, allocations: 4.271 MB / 0.5786 GB, free: 12.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006667/0.3897, allocations: 6.167 MB / 0.5847 GB, free: 5.004 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.507e-05/0.3898, allocations: 32 kB / 0.5847 GB, free: 4.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009054/0.3988, allocations: 5.453 MB / 0.59 GB, free: 15.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.3989, allocations: 54.53 kB / 0.5901 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.399, allocations: 112 kB / 0.5902 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001133/0.3992, allocations: 136 kB / 0.5903 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00391/0.4031, allocations: 1.22 MB / 0.5915 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001441/0.4032, allocations: 199.5 kB / 0.5917 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/0.4059, allocations: 243.6 kB / 0.5919 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/0.4063, allocations: 276 kB / 0.5922 GB, free: 13.3 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001941/0.4082, allocations: 1.395 MB / 0.5936 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/0.4086, allocations: 240.8 kB / 0.5938 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.4105, allocations: 1.242 MB / 0.595 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.4105, allocations: 14.66 kB / 0.595 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4105, allocations: 7.938 kB / 0.595 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4105, allocations: 7.984 kB / 0.595 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006842/0.4174, allocations: 4.54 MB / 0.5995 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.4174, allocations: 8 kB / 0.5995 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.4192, allocations: 367.8 kB / 0.5998 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.4192, allocations: 8 kB / 0.5998 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.4193, allocations: 27.98 kB / 0.5998 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.4193, allocations: 11.98 kB / 0.5999 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4194, allocations: 7.938 kB / 0.5999 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.4218, allocations: 2.153 MB / 0.602 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008017/0.4226, allocations: 465.6 kB / 0.6024 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.4229, allocations: 24 kB / 0.6024 GB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008607/0.4237, allocations: 59.92 kB / 0.6025 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.424, allocations: 75.72 kB / 0.6026 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-05/0.424, allocations: 32 kB / 0.6026 GB, free: 2.438 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002577/0.4266, allocations: 1.827 MB / 0.6044 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4266, allocations: 0 / 0.6044 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002925/0.4296, allocations: 0.6237 MB / 0.605 GB, free: 15.98 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002903/0.4325, allocations: 2.772 MB / 0.6077 GB, free: 13.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004967/0.4375, allocations: 3.228 MB / 0.6109 GB, free: 9.926 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4375, allocations: 0 / 0.6109 GB, free: 9.926 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009784/0.4385, allocations: 0.7846 MB / 0.6116 GB, free: 9.141 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/0.4417, allocations: 268.1 kB / 0.6119 GB, free: 8.879 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03399/0.4757, allocations: 21.49 MB / 0.6329 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/0.4777, allocations: 2.215 MB / 0.635 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/0.4793, allocations: 1.116 MB / 0.6361 GB, free: 13.32 MB / 474.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4793, allocations: 0 / 0.6361 GB, free: 13.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.134/5.613, allocations: 46.02 MB / 0.6811 GB, free: 144.7 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches