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.001107/0.001107, allocations: 106.5 kB / 18.45 MB, free: 4.602 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.001197/0.001197, allocations: 187.2 kB / 19.39 MB, free: 3.68 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.404/1.404, allocations: 222.9 MB / 243.1 MB, free: 15.1 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.2138/0.2138, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.89 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4148, allocations: 60.81 MB / 0.5195 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008052/0.4229, allocations: 7.493 MB / 0.5269 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007149/0.4301, allocations: 3.335 MB / 0.5301 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.4313, allocations: 36.75 kB / 0.5302 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.4334, allocations: 0.7938 MB / 0.5309 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00388/0.4373, allocations: 1.345 MB / 0.5322 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.4389, allocations: 0.5303 MB / 0.5328 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003995/0.4429, allocations: 2.567 MB / 0.5353 GB, free: 8.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.445, allocations: 1.245 MB / 0.5365 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.4467, allocations: 0.7742 MB / 0.5372 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.4487, allocations: 1.123 MB / 0.5383 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005879/0.4493, allocations: 138.8 kB / 0.5385 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.4516, allocations: 0.9445 MB / 0.5394 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001798/0.4534, allocations: 1.025 MB / 0.5404 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00284/0.4563, allocations: 1.219 MB / 0.5416 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006345/0.4626, allocations: 4.069 MB / 0.5456 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4626, allocations: 0 / 0.5456 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4626, allocations: 0 / 0.5456 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001517/0.4628, allocations: 0 / 0.5456 GB, free: 1.395 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.007667/0.4705, allocations: 2.969 MB / 0.5485 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.4705, allocations: 8.031 kB / 0.5485 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006084/0.4766, allocations: 1.635 MB / 0.5501 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/0.4795, allocations: 1.355 MB / 0.5514 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.4797, allocations: 123.4 kB / 0.5515 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000535/0.4802, allocations: 163.9 kB / 0.5517 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.4913, allocations: 6.456 MB / 0.558 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.4914, allocations: 31.75 kB / 0.558 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/0.4918, allocations: 87.83 kB / 0.5581 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002595/0.4944, allocations: 1.444 MB / 0.5595 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.5052, allocations: 5.732 MB / 0.5651 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03423/0.5395, allocations: 26.7 MB / 0.5912 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004624/0.5441, allocations: 2.144 MB / 0.5933 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.5457, allocations: 1.039 MB / 0.5943 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.5459, allocations: 186.5 kB / 0.5944 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.546, allocations: 42.83 kB / 0.5945 GB, free: 13.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 4.438e-06/0.546, allocations: 0 / 0.5945 GB, free: 13.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01753/0.5635, allocations: 6.369 MB / 0.6007 GB, free: 7.172 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.5636, allocations: 141 kB / 0.6008 GB, free: 7.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004825/0.5685, allocations: 2.897 MB / 0.6037 GB, free: 4.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.5686, allocations: 37.7 kB / 0.6037 GB, free: 4.051 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.5703, allocations: 2.102 MB / 0.6058 GB, free: 1.918 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004723/0.5707, allocations: 458.3 kB / 0.6062 GB, free: 1.465 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.5721, allocations: 0.8966 MB / 0.6071 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.5722, allocations: 305.1 kB / 0.6074 GB, free: 260 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.5744, allocations: 1.434 MB / 0.6088 GB, free: 14.81 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003999/0.5784, allocations: 4.299 MB / 0.613 GB, free: 9.062 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00663/0.585, allocations: 6.205 MB / 0.619 GB, free: 1.426 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.524e-05/0.5851, allocations: 28 kB / 0.619 GB, free: 1.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008603/0.5937, allocations: 5.508 MB / 0.6244 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.53e-05/0.5938, allocations: 48 kB / 0.6245 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.594, allocations: 104 kB / 0.6246 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.5941, allocations: 132 kB / 0.6247 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/0.5983, allocations: 1.228 MB / 0.6259 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001722/0.5984, allocations: 199.2 kB / 0.6261 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.6013, allocations: 251.7 kB / 0.6263 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003729/0.6016, allocations: 283.9 kB / 0.6266 GB, free: 9.66 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.002043/0.6037, allocations: 1.384 MB / 0.6279 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004896/0.6042, allocations: 236.9 kB / 0.6282 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.6063, allocations: 1.241 MB / 0.6294 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.6064, allocations: 7.984 kB / 0.6294 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6064, allocations: 4 kB / 0.6294 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006116/0.607, allocations: 293.8 kB / 0.6297 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/0.6074, allocations: 20 kB / 0.6297 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6084, allocations: 56.06 kB / 0.6297 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.6086, allocations: 56.28 kB / 0.6298 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003621/0.6122, allocations: 2.057 MB / 0.6318 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002399/0.6146, allocations: 2.106 MB / 0.6339 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009109/0.6156, allocations: 0.7374 MB / 0.6346 GB, free: 1.395 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003157/0.6187, allocations: 1.799 MB / 0.6363 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of Backend: time 7.72e-07/0.6187, allocations: 0 / 0.6363 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006487/0.6252, allocations: 2.843 MB / 0.6391 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of SimCode: time 0.009271/0.6345, allocations: 5.61 MB / 0.6446 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of Templates: time 0.05415/0.6887, allocations: 28.63 MB / 0.6726 GB, free: 10.54 MB / 0.5294 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