Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: 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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 105.4 kB / 18.45 MB, free: 4.625 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.001375/0.001375, allocations: 183 kB / 19.38 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.89 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3149, allocations: 60.82 MB / 0.5195 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.00863/0.3236, allocations: 7.486 MB / 0.5268 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007385/0.331, allocations: 3.33 MB / 0.5301 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.3326, allocations: 37.12 kB / 0.5301 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.3348, allocations: 0.7929 MB / 0.5309 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.3389, allocations: 1.326 MB / 0.5322 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.3405, allocations: 0.5224 MB / 0.5327 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004239/0.3448, allocations: 2.581 MB / 0.5352 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002228/0.347, allocations: 1.234 MB / 0.5364 GB, free: 8.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.3487, allocations: 0.7788 MB / 0.5372 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.3509, allocations: 1.125 MB / 0.5383 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006661/0.3516, allocations: 139.2 kB / 0.5384 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.3544, allocations: 0.9406 MB / 0.5394 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.3562, allocations: 1.023 MB / 0.5404 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003402/0.3596, allocations: 1.218 MB / 0.5415 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006366/0.366, allocations: 4.07 MB / 0.5455 GB, free: 1.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.366, allocations: 4 kB / 0.5455 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.366, allocations: 0 / 0.5455 GB, free: 1.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.445e-05/0.3661, allocations: 0 / 0.5455 GB, free: 1.527 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.00591/0.372, allocations: 2.961 MB / 0.5484 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.3721, allocations: 8.031 kB / 0.5484 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005821/0.3779, allocations: 1.647 MB / 0.55 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.3806, allocations: 1.347 MB / 0.5513 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-05/0.3807, allocations: 123.4 kB / 0.5515 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.381, allocations: 175.9 kB / 0.5516 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009114/0.3902, allocations: 6.456 MB / 0.5579 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.495e-05/0.3903, allocations: 27.75 kB / 0.558 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.3905, allocations: 83.89 kB / 0.558 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/0.3929, allocations: 1.441 MB / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.403, allocations: 5.728 MB / 0.565 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03102/0.4341, allocations: 26.72 MB / 0.5911 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004357/0.4385, allocations: 2.14 MB / 0.5932 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.4399, allocations: 1.039 MB / 0.5942 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.4401, allocations: 182.5 kB / 0.5944 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.4402, allocations: 42.83 kB / 0.5944 GB, free: 13.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.677e-06/0.4402, allocations: 4 kB / 0.5945 GB, free: 13.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01672/0.4569, allocations: 6.369 MB / 0.6007 GB, free: 7.305 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/0.4571, allocations: 144.8 kB / 0.6008 GB, free: 7.133 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004514/0.4616, allocations: 2.889 MB / 0.6036 GB, free: 4.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.4618, allocations: 41.7 kB / 0.6037 GB, free: 4.184 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.4632, allocations: 2.102 MB / 0.6057 GB, free: 2.051 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004755/0.4637, allocations: 458.4 kB / 0.6062 GB, free: 1.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/0.4649, allocations: 0.9005 MB / 0.607 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.465, allocations: 301.1 kB / 0.6073 GB, free: 396 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.4672, allocations: 1.426 MB / 0.6087 GB, free: 14.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003906/0.4711, allocations: 4.299 MB / 0.6129 GB, free: 9.203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006945/0.4781, allocations: 6.207 MB / 0.619 GB, free: 1.562 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/0.4782, allocations: 32 kB / 0.619 GB, free: 1.531 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01012/0.4884, allocations: 5.51 MB / 0.6244 GB, free: 12.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.4885, allocations: 48.94 kB / 0.6244 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/0.4887, allocations: 100 kB / 0.6245 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.4889, allocations: 136 kB / 0.6247 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004288/0.4932, allocations: 1.228 MB / 0.6259 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001843/0.4934, allocations: 211.1 kB / 0.6261 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.4964, allocations: 239.5 kB / 0.6263 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005262/0.4969, allocations: 280 kB / 0.6266 GB, free: 9.797 MB / 494.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 (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.002296/0.4992, allocations: 1.387 MB / 0.6279 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005336/0.4997, allocations: 240.9 kB / 0.6281 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.5019, allocations: 1.238 MB / 0.6294 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.502, allocations: 12 kB / 0.6294 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.502, allocations: 7.938 kB / 0.6294 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.502, allocations: 4.125 kB / 0.6294 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008737/0.5108, allocations: 4.569 MB / 0.6338 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.5108, allocations: 4 kB / 0.6338 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/0.5128, allocations: 363.4 kB / 0.6342 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-05/0.5128, allocations: 8 kB / 0.6342 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.5129, allocations: 31.92 kB / 0.6342 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.513, allocations: 8.438 kB / 0.6342 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.513, allocations: 12.22 kB / 0.6342 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.5161, allocations: 2.151 MB / 0.6363 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.5172, allocations: 309.8 kB / 0.6366 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007114/0.518, allocations: 23.94 kB / 0.6367 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.5194, allocations: 55.92 kB / 0.6367 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.5196, allocations: 71.8 kB / 0.6368 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.5197, allocations: 43.98 kB / 0.6368 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004098/0.5238, allocations: 1.815 MB / 0.6386 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5238, allocations: 0 / 0.6386 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004102/0.5279, allocations: 0.625 MB / 0.6392 GB, free: 12.6 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.0004319/0.5284, allocations: 162.9 kB / 0.6394 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005229/0.5336, allocations: 3.29 MB / 0.6426 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.5336, allocations: 0 / 0.6426 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.5347, allocations: 0.7882 MB / 0.6433 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.5367, allocations: 270.6 kB / 0.6436 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.547, allocations: 5.839 MB / 0.6493 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/0.5495, allocations: 2.21 MB / 0.6515 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008772/0.5504, allocations: 211.4 kB / 0.6517 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of SimCode: time 2.264e-06/0.5504, allocations: 0 / 0.6517 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.05271/0.6031, allocations: 37.7 MB / 0.6885 GB, free: 10.09 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches