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: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001369, allocations: 176.9 kB / 16.41 MB, free: 5.727 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.524/1.524, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007617/0.0007617, allocations: 86.36 kB / 270.9 MB, free: 8.355 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.2983/0.2983, allocations: 43.57 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1022, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.2045/0.3067, allocations: 12.99 MB / 0.4914 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007735/0.3145, allocations: 4.182 MB / 0.4955 GB, free: 34.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.3165, allocations: 57.94 kB / 0.4956 GB, free: 34.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.3178, allocations: 0.6095 MB / 0.4962 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004865/0.3226, allocations: 2.142 MB / 0.4983 GB, free: 33.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.3238, allocations: 449.2 kB / 0.4987 GB, free: 33.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002913/0.3267, allocations: 2.755 MB / 0.5014 GB, free: 33.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.3286, allocations: 1.388 MB / 0.5027 GB, free: 33.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000922/0.3295, allocations: 0.7133 MB / 0.5034 GB, free: 32.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.3307, allocations: 1.163 MB / 0.5046 GB, free: 32.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.3309, allocations: 86.81 kB / 0.5046 GB, free: 32.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3322, allocations: 0.7819 MB / 0.5054 GB, free: 32.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007441/0.333, allocations: 0.961 MB / 0.5063 GB, free: 32.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.3333, allocations: 0.4905 MB / 0.5068 GB, free: 32.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.3356, allocations: 3.015 MB / 0.5098 GB, free: 32.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3356, allocations: 0 / 0.5098 GB, free: 32.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3356, allocations: 0 / 0.5098 GB, free: 32.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.078e-05/0.3356, allocations: 0 / 0.5098 GB, free: 32.21 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.003733/0.3394, allocations: 2.502 MB / 0.5122 GB, free: 30.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3394, allocations: 17.89 kB / 0.5122 GB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005323/0.3448, allocations: 1.699 MB / 0.5139 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002271/0.3471, allocations: 1.352 MB / 0.5152 GB, free: 30.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.3471, allocations: 125.6 kB / 0.5153 GB, free: 30.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.3474, allocations: 170.1 kB / 0.5155 GB, free: 30.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007488/0.3549, allocations: 6.454 MB / 0.5218 GB, free: 27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.471e-05/0.355, allocations: 29.41 kB / 0.5218 GB, free: 26.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.3552, allocations: 84.2 kB / 0.5219 GB, free: 26.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00225/0.3575, allocations: 1.436 MB / 0.5233 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008894/0.3664, allocations: 5.717 MB / 0.5289 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02522/0.3917, allocations: 26.78 MB / 0.555 GB, free: 19.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.3956, allocations: 2.126 MB / 0.5571 GB, free: 18.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.3967, allocations: 1.047 MB / 0.5581 GB, free: 17.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.3969, allocations: 178.9 kB / 0.5583 GB, free: 17.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3969, allocations: 38.14 kB / 0.5583 GB, free: 17.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 2.816e-06/0.397, allocations: 0 / 0.5583 GB, free: 17.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.0142/0.4112, allocations: 6.363 MB / 0.5646 GB, free: 12.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.4113, allocations: 144.9 kB / 0.5647 GB, free: 11.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003606/0.4149, allocations: 2.886 MB / 0.5675 GB, free: 8.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.415, allocations: 41.7 kB / 0.5676 GB, free: 8.934 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.4163, allocations: 2.107 MB / 0.5696 GB, free: 6.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.4167, allocations: 454.7 kB / 0.57 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.4169, allocations: 84 kB / 0.5701 GB, free: 6.309 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.4172, allocations: 0.492 MB / 0.5706 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/0.4192, allocations: 1.41 MB / 0.572 GB, free: 4.391 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003707/0.4229, allocations: 4.283 MB / 0.5762 GB, free: 14.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.426, allocations: 2.405 MB / 0.5785 GB, free: 12.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.441e-05/0.4261, allocations: 28 kB / 0.5785 GB, free: 12.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.007836/0.4339, allocations: 5.466 MB / 0.5839 GB, free: 6.754 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/0.434, allocations: 48.28 kB / 0.5839 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/0.4341, allocations: 104 kB / 0.584 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/0.4343, allocations: 152 kB / 0.5842 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/0.4382, allocations: 1.24 MB / 0.5854 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001545/0.4383, allocations: 199.2 kB / 0.5856 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.4408, allocations: 247.5 kB / 0.5858 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000366/0.4412, allocations: 279.9 kB / 0.5861 GB, free: 4.504 MB / 410.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 (557): * Single equations (assignments): 554 * 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.001875/0.4431, allocations: 1.395 MB / 0.5874 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.4435, allocations: 236.9 kB / 0.5877 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.4454, allocations: 1.238 MB / 0.5889 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.4455, allocations: 12 kB / 0.5889 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4455, allocations: 0 / 0.5889 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.4455, allocations: 7.984 kB / 0.5889 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007347/0.4528, allocations: 4.548 MB / 0.5933 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.4529, allocations: 4 kB / 0.5933 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.4546, allocations: 367.3 kB / 0.5937 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/0.4546, allocations: 12 kB / 0.5937 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/0.4547, allocations: 22.8 kB / 0.5937 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.4547, allocations: 11.95 kB / 0.5937 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.4547, allocations: 12.56 kB / 0.5937 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.4572, allocations: 2.153 MB / 0.5958 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000817/0.458, allocations: 461.7 kB / 0.5963 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.4584, allocations: 27.98 kB / 0.5963 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009649/0.4594, allocations: 59.92 kB / 0.5964 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4595, allocations: 67.77 kB / 0.5964 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-05/0.4596, allocations: 42.72 kB / 0.5965 GB, free: 9.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002604/0.4622, allocations: 1.815 MB / 0.5982 GB, free: 7.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4622, allocations: 0 / 0.5982 GB, free: 7.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002861/0.4651, allocations: 0.6211 MB / 0.5989 GB, free: 7.219 MB / 426.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.0003283/0.4654, allocations: 157.3 kB / 0.599 GB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004859/0.4703, allocations: 3.245 MB / 0.6022 GB, free: 3.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.4703, allocations: 0.875 kB / 0.6022 GB, free: 3.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.4713, allocations: 0.7911 MB / 0.6029 GB, free: 3.051 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.4731, allocations: 271.8 kB / 0.6032 GB, free: 2.789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.4833, allocations: 6.808 MB / 0.6099 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/0.4857, allocations: 2.218 MB / 0.612 GB, free: 9.629 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000817/0.4865, allocations: 211.4 kB / 0.6122 GB, free: 9.422 MB / 442.7 MB Notification: Performance of SimCode: time 8.01e-07/0.4866, allocations: 0 / 0.6122 GB, free: 9.422 MB / 442.7 MB Notification: Performance of Templates: time 0.05348/0.54, allocations: 36.93 MB / 0.6483 GB, free: 4.492 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.makefile (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 & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/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