Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.00107, allocations: 181.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001162, allocations: 82.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2113/0.2113, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004137, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1295, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5682, allocations: 101.4 MB / 0.5778 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.5685, allocations: 79.14 kB / 0.5779 GB, free: 14.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1706/0.7391, allocations: 58.75 MB / 0.6353 GB, free: 11.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.7392, allocations: 0 / 0.6353 GB, free: 11.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.358e-05/0.7393, allocations: 55.92 kB / 0.6353 GB, free: 11.16 MB / 442.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.006545/0.7458, allocations: 2.724 MB / 0.638 GB, free: 8.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.7459, allocations: 8.031 kB / 0.638 GB, free: 8.562 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008777/0.7547, allocations: 1.983 MB / 0.6399 GB, free: 6.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.7652, allocations: 3.369 MB / 0.6432 GB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.7654, allocations: 180.8 kB / 0.6434 GB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009725/0.7664, allocations: 251.8 kB / 0.6436 GB, free: 3.184 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.7802, allocations: 6.9 MB / 0.6504 GB, free: 11.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.7804, allocations: 43.62 kB / 0.6504 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000389/0.7808, allocations: 127.9 kB / 0.6505 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009946/0.7818, allocations: 0.7227 MB / 0.6512 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.793, allocations: 5.899 MB / 0.657 GB, free: 4.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04058/0.8336, allocations: 33.69 MB / 0.6899 GB, free: 1.816 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00479/0.8385, allocations: 2.102 MB / 0.6919 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.8388, allocations: 170.5 kB / 0.6921 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.959e-05/0.8389, allocations: 46.89 kB / 0.6921 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=100): time 6.292e-06/0.8389, allocations: 0 / 0.6921 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112): time 0.01499/0.8539, allocations: 6.391 MB / 0.6984 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/0.8541, allocations: 141 kB / 0.6985 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004467/0.8585, allocations: 2.612 MB / 0.7011 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003079/0.8589, allocations: 33.7 kB / 0.7011 GB, free: 6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.8606, allocations: 2.125 MB / 0.7032 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006055/0.8612, allocations: 446.4 kB / 0.7036 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.8614, allocations: 95.94 kB / 0.7037 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003341/0.8618, allocations: 0.4919 MB / 0.7042 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/0.8643, allocations: 1.41 MB / 0.7056 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3292/1.194, allocations: 4.257 MB / 0.7097 GB, free: 137 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005706/1.199, allocations: 2.41 MB / 0.7121 GB, free: 137 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.199, allocations: 29.69 kB / 0.7121 GB, free: 137 MB / 0.4948 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01464/1.214, allocations: 5.469 MB / 0.7174 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.214, allocations: 48.47 kB / 0.7175 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000244/1.215, allocations: 101.4 kB / 0.7176 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/1.215, allocations: 150.5 kB / 0.7177 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/1.219, allocations: 1.087 MB / 0.7188 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002357/1.22, allocations: 198.8 kB / 0.719 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/1.224, allocations: 296.2 kB / 0.7193 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006451/1.224, allocations: 281.4 kB / 0.7195 GB, free: 136.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * 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 (551): * Single equations (assignments): 548 * 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.003097/1.228, allocations: 1.381 MB / 0.7209 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/1.228, allocations: 241.5 kB / 0.7211 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/1.231, allocations: 1.233 MB / 0.7223 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/1.231, allocations: 13.92 kB / 0.7223 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.231, allocations: 1.406 kB / 0.7223 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.231, allocations: 6.141 kB / 0.7223 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009935/1.241, allocations: 4.41 MB / 0.7266 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.241, allocations: 3.781 kB / 0.7266 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/1.242, allocations: 210.9 kB / 0.7268 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/1.242, allocations: 11.23 kB / 0.7268 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.049e-05/1.242, allocations: 22.33 kB / 0.7269 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/1.242, allocations: 12.39 kB / 0.7269 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.242, allocations: 4.531 kB / 0.7269 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/1.245, allocations: 2.601 MB / 0.7294 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.246, allocations: 465.8 kB / 0.7299 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/1.247, allocations: 28.42 kB / 0.7299 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.248, allocations: 73 kB / 0.73 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.248, allocations: 72.31 kB / 0.73 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.636e-05/1.248, allocations: 35.22 kB / 0.7301 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003654/1.252, allocations: 1.848 MB / 0.7319 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.01e-07/1.252, allocations: 0 / 0.7319 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005422/1.257, allocations: 0.6346 MB / 0.7325 GB, free: 134.1 MB / 0.4948 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 (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.0005048/1.258, allocations: 168.9 kB / 0.7327 GB, free: 134 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005922/1.264, allocations: 3.221 MB / 0.7358 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.264, allocations: 0 / 0.7358 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/1.265, allocations: 0.7945 MB / 0.7366 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.266, allocations: 237.6 kB / 0.7368 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.277, allocations: 6.575 MB / 0.7432 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/1.279, allocations: 2.276 MB / 0.7454 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003863/1.283, allocations: 1.465 MB / 0.7469 GB, free: 129 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/1.284, allocations: 169.6 kB / 0.747 GB, free: 129 MB / 0.4948 GB Notification: Performance of SimCode: time 1.854e-06/1.284, allocations: 0 / 0.747 GB, free: 129 MB / 0.4948 GB Notification: Performance of Templates: time 0.04579/1.329, allocations: 20.71 MB / 0.7673 GB, free: 127.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches