Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002314/0.002314, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 76.16 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4082, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.0101/0.4184, allocations: 7.479 MB / 0.5383 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007687/0.4261, allocations: 3.35 MB / 0.5415 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.4276, allocations: 32.16 kB / 0.5416 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.4299, allocations: 0.8066 MB / 0.5424 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.4346, allocations: 1.287 MB / 0.5436 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.4363, allocations: 0.519 MB / 0.5441 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004568/0.4408, allocations: 2.609 MB / 0.5467 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.4431, allocations: 1.229 MB / 0.5479 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.4448, allocations: 0.7627 MB / 0.5486 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.4468, allocations: 1.129 MB / 0.5497 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005731/0.4474, allocations: 144 kB / 0.5498 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.4496, allocations: 0.9204 MB / 0.5507 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.4508, allocations: 0.9972 MB / 0.5517 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.4527, allocations: 1.215 MB / 0.5529 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005976/0.4587, allocations: 4.022 MB / 0.5568 GB, free: 7.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4587, allocations: 3.938 kB / 0.5568 GB, free: 7.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.4587, allocations: 0 / 0.5568 GB, free: 7.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002207/0.4589, allocations: 0 / 0.5568 GB, free: 7.152 MB / 414.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.007417/0.4664, allocations: 2.938 MB / 0.5597 GB, free: 4.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.4664, allocations: 12.03 kB / 0.5597 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006169/0.4726, allocations: 1.647 MB / 0.5613 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/0.4755, allocations: 1.32 MB / 0.5626 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.776e-05/0.4756, allocations: 127.4 kB / 0.5627 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/0.476, allocations: 163.9 kB / 0.5629 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009179/0.4852, allocations: 6.452 MB / 0.5692 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-05/0.4853, allocations: 35.66 kB / 0.5692 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.4855, allocations: 87.83 kB / 0.5693 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002495/0.488, allocations: 1.441 MB / 0.5707 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.4982, allocations: 5.724 MB / 0.5763 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03321/0.5315, allocations: 26.72 MB / 0.6024 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005013/0.5365, allocations: 2.133 MB / 0.6045 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.5384, allocations: 1.05 MB / 0.6055 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.5387, allocations: 174.5 kB / 0.6057 GB, free: 3.445 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.5387, allocations: 46.83 kB / 0.6057 GB, free: 3.391 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 4.468e-06/0.5387, allocations: 0 / 0.6057 GB, free: 3.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.0196/0.5583, allocations: 6.368 MB / 0.6119 GB, free: 12.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.5585, allocations: 148.8 kB / 0.6121 GB, free: 12.81 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007076/0.5656, allocations: 2.885 MB / 0.6149 GB, free: 9.914 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002487/0.5659, allocations: 41.7 kB / 0.6149 GB, free: 9.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.568, allocations: 2.094 MB / 0.617 GB, free: 7.742 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008148/0.5688, allocations: 466.2 kB / 0.6174 GB, free: 7.281 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002195/0.571, allocations: 0.8929 MB / 0.6183 GB, free: 6.375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.5712, allocations: 305.1 kB / 0.6186 GB, free: 6.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00277/0.574, allocations: 1.426 MB / 0.62 GB, free: 4.641 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005051/0.5791, allocations: 4.299 MB / 0.6242 GB, free: 14.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007439/0.5866, allocations: 6.201 MB / 0.6302 GB, free: 7.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.5867, allocations: 32 kB / 0.6303 GB, free: 7.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01076/0.5974, allocations: 5.502 MB / 0.6356 GB, free: 1.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.5976, allocations: 55.94 kB / 0.6357 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000192/0.5978, allocations: 100 kB / 0.6358 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.598, allocations: 136 kB / 0.6359 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004559/0.6025, allocations: 1.225 MB / 0.6371 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000241/0.6028, allocations: 207.2 kB / 0.6373 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/0.6067, allocations: 243.6 kB / 0.6376 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008684/0.6076, allocations: 280 kB / 0.6378 GB, free: 15.49 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004245/0.6118, allocations: 1.388 MB / 0.6392 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009196/0.6128, allocations: 240.9 kB / 0.6394 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.6154, allocations: 1.237 MB / 0.6406 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.075e-05/0.6155, allocations: 12 kB / 0.6406 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/0.6155, allocations: 3.938 kB / 0.6406 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/0.6155, allocations: 15.91 kB / 0.6406 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.6267, allocations: 4.546 MB / 0.6451 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/0.6267, allocations: 8.094 kB / 0.6451 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/0.6287, allocations: 363.4 kB / 0.6454 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-05/0.6287, allocations: 8 kB / 0.6454 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.6289, allocations: 24 kB / 0.6455 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.027e-05/0.6289, allocations: 11.94 kB / 0.6455 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.6289, allocations: 8 kB / 0.6455 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.6321, allocations: 2.171 MB / 0.6476 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000969/0.6331, allocations: 297.9 kB / 0.6479 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006709/0.6338, allocations: 20 kB / 0.6479 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.6352, allocations: 59.91 kB / 0.648 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.6354, allocations: 71.8 kB / 0.648 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.6355, allocations: 36 kB / 0.6481 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0039/0.6394, allocations: 1.815 MB / 0.6498 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6394, allocations: 0 / 0.6498 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00427/0.6437, allocations: 0.6133 MB / 0.6504 GB, free: 2.32 MB / 0.4981 GB 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.0005026/0.6442, allocations: 158.9 kB / 0.6506 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005924/0.6502, allocations: 3.29 MB / 0.6538 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.6502, allocations: 192 / 0.6538 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.6514, allocations: 0.8007 MB / 0.6546 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.6538, allocations: 274.1 kB / 0.6548 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.6643, allocations: 5.536 MB / 0.6603 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/0.6671, allocations: 2.206 MB / 0.6624 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003659/0.6708, allocations: 1.455 MB / 0.6638 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008655/0.6717, allocations: 175.4 kB / 0.664 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/0.6717, allocations: 0 / 0.664 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of Templates: time 0.0462/0.7179, allocations: 19.57 MB / 0.6831 GB, free: 0.8047 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches