Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.6 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008289/0.0008289, allocations: 101 kB / 295.1 MB, free: 4.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1872/0.1872, allocations: 44.83 MB / 392 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002366/0.0002366, allocations: 8 kB / 464.7 MB, free: 68.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.101, allocations: 62.95 MB / 0.5153 GB, free: 5.152 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01101/0.112, allocations: 12.99 MB / 0.528 GB, free: 8.109 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008264/0.1204, allocations: 4.207 MB / 0.5321 GB, free: 3.891 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.1226, allocations: 55.88 kB / 0.5322 GB, free: 3.836 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.1243, allocations: 0.6064 MB / 0.5328 GB, free: 3.227 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005629/0.1299, allocations: 2.129 MB / 0.5348 GB, free: 1.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.1314, allocations: 447.2 kB / 0.5353 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003826/0.1353, allocations: 2.801 MB / 0.538 GB, free: 13.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.1373, allocations: 1.397 MB / 0.5394 GB, free: 12.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.1384, allocations: 0.7121 MB / 0.5401 GB, free: 11.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.1398, allocations: 1.157 MB / 0.5412 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.1401, allocations: 84 kB / 0.5413 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.1416, allocations: 0.7723 MB / 0.542 GB, free: 9.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008486/0.1424, allocations: 0.9466 MB / 0.5429 GB, free: 8.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.1429, allocations: 0.4961 MB / 0.5434 GB, free: 8.234 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.146, allocations: 3.017 MB / 0.5464 GB, free: 5.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1461, allocations: 0 / 0.5464 GB, free: 5.211 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1461, allocations: 0 / 0.5464 GB, free: 5.211 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-05/0.1461, allocations: 0 / 0.5464 GB, free: 5.211 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.004357/0.1505, allocations: 2.505 MB / 0.5488 GB, free: 2.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1506, allocations: 8.031 kB / 0.5488 GB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/0.1563, allocations: 1.701 MB / 0.5505 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1972/0.3535, allocations: 1.273 MB / 0.5517 GB, free: 39.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.3537, allocations: 123.5 kB / 0.5518 GB, free: 39.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003885/0.3541, allocations: 158.9 kB / 0.552 GB, free: 39.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009582/0.3637, allocations: 6.453 MB / 0.5583 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.193e-05/0.3638, allocations: 41.86 kB / 0.5583 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.3641, allocations: 80.17 kB / 0.5584 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002438/0.3665, allocations: 1.435 MB / 0.5598 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009616/0.3762, allocations: 5.723 MB / 0.5654 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02417/0.4004, allocations: 26.76 MB / 0.5915 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/0.4038, allocations: 2.138 MB / 0.5936 GB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009544/0.4047, allocations: 1.036 MB / 0.5946 GB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.4049, allocations: 174.2 kB / 0.5948 GB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.4049, allocations: 53.44 kB / 0.5949 GB, free: 8.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 3.196e-06/0.4049, allocations: 0 / 0.5949 GB, free: 8.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=112): time 0.01236/0.4173, allocations: 6.349 MB / 0.6011 GB, free: 1.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.4174, allocations: 141 kB / 0.6012 GB, free: 1.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/0.4203, allocations: 2.877 MB / 0.604 GB, free: 14.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.4204, allocations: 39.27 kB / 0.604 GB, free: 14.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.4217, allocations: 2.102 MB / 0.6061 GB, free: 12.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.4221, allocations: 460.7 kB / 0.6065 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.4223, allocations: 88 kB / 0.6066 GB, free: 12.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002854/0.4226, allocations: 499.8 kB / 0.6071 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.4246, allocations: 1.41 MB / 0.6085 GB, free: 10.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/0.4285, allocations: 4.283 MB / 0.6126 GB, free: 4.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.4316, allocations: 2.399 MB / 0.615 GB, free: 2.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.986e-05/0.4317, allocations: 31.95 kB / 0.615 GB, free: 2.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.007914/0.4396, allocations: 5.469 MB / 0.6204 GB, free: 12.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.4397, allocations: 52.03 kB / 0.6204 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-05/0.4398, allocations: 104 kB / 0.6205 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.4399, allocations: 148 kB / 0.6207 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003791/0.4437, allocations: 1.22 MB / 0.6218 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000148/0.4439, allocations: 207.4 kB / 0.622 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.4463, allocations: 243.5 kB / 0.6223 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/0.4466, allocations: 277.1 kB / 0.6225 GB, free: 10.4 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.001766/0.4484, allocations: 1.393 MB / 0.6239 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/0.4488, allocations: 240.9 kB / 0.6241 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.4505, allocations: 1.234 MB / 0.6253 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/0.4506, allocations: 12 kB / 0.6253 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4506, allocations: 4 kB / 0.6253 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4506, allocations: 8.125 kB / 0.6254 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00666/0.4573, allocations: 4.546 MB / 0.6298 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4573, allocations: 5.375 kB / 0.6298 GB, free: 2.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.459, allocations: 371.8 kB / 0.6302 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.459, allocations: 12 kB / 0.6302 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.4591, allocations: 19.98 kB / 0.6302 GB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.4591, allocations: 12 kB / 0.6302 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4591, allocations: 7.938 kB / 0.6302 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.4614, allocations: 2.153 MB / 0.6323 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/0.4619, allocations: 313.9 kB / 0.6326 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.4621, allocations: 24 kB / 0.6326 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.463, allocations: 59.92 kB / 0.6327 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.4631, allocations: 70.28 kB / 0.6328 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/0.4632, allocations: 36 kB / 0.6328 GB, free: 15.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002333/0.4655, allocations: 1.811 MB / 0.6346 GB, free: 13.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4655, allocations: 0 / 0.6346 GB, free: 13.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00268/0.4682, allocations: 0.6263 MB / 0.6352 GB, free: 13.27 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.0002958/0.4685, allocations: 154.5 kB / 0.6353 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004672/0.4732, allocations: 3.243 MB / 0.6385 GB, free: 9.898 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4732, allocations: 0 / 0.6385 GB, free: 9.898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.4744, allocations: 0.7848 MB / 0.6392 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/0.4772, allocations: 272.2 kB / 0.6395 GB, free: 8.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/0.4919, allocations: 6.817 MB / 0.6462 GB, free: 1.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/0.4943, allocations: 2.222 MB / 0.6483 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008182/0.4951, allocations: 203.4 kB / 0.6485 GB, free: 15.49 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.4951, allocations: 0 / 0.6485 GB, free: 15.49 MB / 442.7 MB Notification: Performance of Templates: time 0.06111/0.5563, allocations: 36.9 MB / 0.6846 GB, free: 10.62 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches