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/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_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/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 106.1 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3474/0.3474, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 59.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.344, allocations: 62.02 MB / 0.5151 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01239/0.3564, allocations: 14.47 MB / 0.5293 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008197/0.3647, allocations: 4.567 MB / 0.5337 GB, free: 24.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/0.3672, allocations: 61.78 kB / 0.5338 GB, free: 24.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.369, allocations: 0.7549 MB / 0.5345 GB, free: 24.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002762/0.3718, allocations: 1.212 MB / 0.5357 GB, free: 23.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.373, allocations: 491 kB / 0.5362 GB, free: 23.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0037/0.3767, allocations: 3.545 MB / 0.5396 GB, free: 22.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.3789, allocations: 1.201 MB / 0.5408 GB, free: 21.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.3806, allocations: 0.6825 MB / 0.5415 GB, free: 21.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00286/0.3835, allocations: 1.218 MB / 0.5427 GB, free: 21.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.3846, allocations: 97.09 kB / 0.5428 GB, free: 21.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/0.3881, allocations: 0.9433 MB / 0.5437 GB, free: 21.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.3903, allocations: 1.005 MB / 0.5447 GB, free: 20.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003135/0.3934, allocations: 1.195 MB / 0.5458 GB, free: 19.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007353/0.4008, allocations: 3.861 MB / 0.5496 GB, free: 18.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.4009, allocations: 0 / 0.5496 GB, free: 18.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4009, allocations: 4 kB / 0.5496 GB, free: 18.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002829/0.4012, allocations: 0 / 0.5496 GB, free: 18.19 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.01039/0.4116, allocations: 2.961 MB / 0.5525 GB, free: 16.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.4117, allocations: 9.688 kB / 0.5525 GB, free: 16.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006312/0.418, allocations: 1.654 MB / 0.5541 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/0.4218, allocations: 1.304 MB / 0.5554 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.4219, allocations: 128.1 kB / 0.5555 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004306/0.4223, allocations: 172.9 kB / 0.5557 GB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009569/0.4319, allocations: 6.456 MB / 0.562 GB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.317e-05/0.432, allocations: 31.75 kB / 0.562 GB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/0.4323, allocations: 79.89 kB / 0.5621 GB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002022/0.4343, allocations: 1.441 MB / 0.5635 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008688/0.443, allocations: 5.728 MB / 0.5691 GB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03746/0.4805, allocations: 26.8 MB / 0.5953 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/0.4849, allocations: 2.142 MB / 0.5974 GB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.4864, allocations: 1.046 MB / 0.5984 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.4867, allocations: 182.5 kB / 0.5986 GB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.4867, allocations: 46.88 kB / 0.5986 GB, free: 2.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.697e-06/0.4867, allocations: 224 / 0.5986 GB, free: 2.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01595/0.5027, allocations: 6.368 MB / 0.6048 GB, free: 11.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.5028, allocations: 152.8 kB / 0.605 GB, free: 11.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/0.5083, allocations: 2.889 MB / 0.6078 GB, free: 8.863 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000287/0.5086, allocations: 37.7 kB / 0.6078 GB, free: 8.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/0.5104, allocations: 2.106 MB / 0.6099 GB, free: 6.688 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006991/0.5111, allocations: 450.4 kB / 0.6103 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001868/0.513, allocations: 0.8966 MB / 0.6112 GB, free: 5.332 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.5131, allocations: 305.1 kB / 0.6115 GB, free: 5.031 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.5154, allocations: 1.422 MB / 0.6129 GB, free: 3.602 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004627/0.52, allocations: 4.299 MB / 0.6171 GB, free: 13.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006768/0.5268, allocations: 6.213 MB / 0.6231 GB, free: 6.207 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.725e-05/0.5269, allocations: 28 kB / 0.6232 GB, free: 6.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008638/0.5356, allocations: 5.5 MB / 0.6285 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/0.5357, allocations: 52.28 kB / 0.6286 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/0.5358, allocations: 100 kB / 0.6287 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.5359, allocations: 139.9 kB / 0.6288 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/0.54, allocations: 1.224 MB / 0.63 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001704/0.5402, allocations: 207.2 kB / 0.6302 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/0.543, allocations: 239.5 kB / 0.6304 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/0.5434, allocations: 284 kB / 0.6307 GB, free: 14.45 MB / 458.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00202/0.5454, allocations: 1.395 MB / 0.6321 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.5458, allocations: 236.9 kB / 0.6323 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.5479, allocations: 1.241 MB / 0.6335 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.548, allocations: 12 kB / 0.6335 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.548, allocations: 7.938 kB / 0.6335 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.548, allocations: 7.984 kB / 0.6335 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008062/0.5561, allocations: 4.566 MB / 0.638 GB, free: 6.844 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.5561, allocations: 4 kB / 0.638 GB, free: 6.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/0.558, allocations: 363.4 kB / 0.6383 GB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.725e-05/0.558, allocations: 8 kB / 0.6383 GB, free: 6.477 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-05/0.5581, allocations: 27.98 kB / 0.6384 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.5581, allocations: 12.31 kB / 0.6384 GB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/0.5582, allocations: 12 kB / 0.6384 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004593/0.5628, allocations: 4.071 MB / 0.6424 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008465/0.5636, allocations: 309.7 kB / 0.6427 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/0.5643, allocations: 27.92 kB / 0.6427 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.5656, allocations: 67.91 kB / 0.6428 GB, free: 1.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.5658, allocations: 67.81 kB / 0.6428 GB, free: 1.754 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.364e-05/0.5659, allocations: 35.98 kB / 0.6429 GB, free: 1.719 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004061/0.57, allocations: 1.819 MB / 0.6446 GB, free: 15.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.57, allocations: 3.938 kB / 0.6446 GB, free: 15.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005388/0.5754, allocations: 0.6328 MB / 0.6453 GB, free: 15.26 MB / 474.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 (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.0005033/0.5759, allocations: 151 kB / 0.6454 GB, free: 15.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005563/0.5815, allocations: 3.268 MB / 0.6486 GB, free: 11.85 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.5815, allocations: 0 / 0.6486 GB, free: 11.85 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.5826, allocations: 0.7934 MB / 0.6494 GB, free: 11.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.585, allocations: 278.2 kB / 0.6496 GB, free: 10.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.5962, allocations: 7.455 MB / 0.6569 GB, free: 3.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/0.5986, allocations: 2.245 MB / 0.6591 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003752/0.6023, allocations: 1.463 MB / 0.6605 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/0.603, allocations: 171.3 kB / 0.6607 GB, free: 15.32 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/0.603, allocations: 0 / 0.6607 GB, free: 15.32 MB / 490.7 MB Notification: Performance of Templates: time 0.04121/0.6442, allocations: 22.01 MB / 0.6822 GB, free: 9.363 MB / 0.4948 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches