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.001058/0.001058, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009195/0.0009195, allocations: 85.3 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 45.16 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.006e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 63.24 MB / 0.5114 GB, free: 6.824 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.432/0.5427, allocations: 103.9 MB / 0.6128 GB, free: 6.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.543, allocations: 69.22 kB / 0.6129 GB, free: 6.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1558/0.6988, allocations: 60.25 MB / 0.6717 GB, free: 1.703 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6989, allocations: 0 / 0.6717 GB, free: 1.703 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.699, allocations: 52 kB / 0.6718 GB, free: 1.652 MB / 458.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.008785/0.7078, allocations: 2.619 MB / 0.6743 GB, free: 15.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.7079, allocations: 11.97 kB / 0.6744 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008685/0.7166, allocations: 1.977 MB / 0.6763 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007122/0.7237, allocations: 2.694 MB / 0.6789 GB, free: 10.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.724, allocations: 180.8 kB / 0.6791 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.725, allocations: 239.9 kB / 0.6793 GB, free: 10.24 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.7367, allocations: 6.831 MB / 0.686 GB, free: 2.598 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.7369, allocations: 47.53 kB / 0.686 GB, free: 2.551 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000395/0.7373, allocations: 131.9 kB / 0.6862 GB, free: 2.422 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009932/0.7383, allocations: 0.7188 MB / 0.6869 GB, free: 1.707 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.7495, allocations: 5.748 MB / 0.6925 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03712/0.7867, allocations: 33.67 MB / 0.7254 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.7907, allocations: 2.083 MB / 0.7274 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.792, allocations: 1.024 MB / 0.7284 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.7922, allocations: 174.5 kB / 0.7286 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.7922, allocations: 46.81 kB / 0.7286 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 3.536e-06/0.7922, allocations: 0 / 0.7286 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112): time 0.01321/0.8055, allocations: 5.115 MB / 0.7336 GB, free: 440 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/0.8056, allocations: 137 kB / 0.7337 GB, free: 272 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004709/0.8103, allocations: 2.552 MB / 0.7362 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.8107, allocations: 37.7 kB / 0.7363 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001731/0.8124, allocations: 2.106 MB / 0.7383 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006464/0.8131, allocations: 462.2 kB / 0.7388 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.8133, allocations: 88 kB / 0.7388 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003424/0.8136, allocations: 499.7 kB / 0.7393 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.8159, allocations: 1.36 MB / 0.7406 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004746/0.8206, allocations: 4.195 MB / 0.7447 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.8244, allocations: 2.373 MB / 0.7471 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-05/0.8245, allocations: 28 kB / 0.7471 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.3116/1.136, allocations: 5.353 MB / 0.7523 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.136, allocations: 50.84 kB / 0.7524 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002211/1.136, allocations: 104.8 kB / 0.7525 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/1.137, allocations: 152.5 kB / 0.7526 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003892/1.141, allocations: 1.08 MB / 0.7537 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003253/1.141, allocations: 198.5 kB / 0.7539 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/1.145, allocations: 288.3 kB / 0.7541 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009763/1.146, allocations: 279.3 kB / 0.7544 GB, free: 148.1 MB / 0.5261 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 () * 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.0009752/1.147, allocations: 452.8 kB / 0.7548 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005399/1.147, allocations: 244.9 kB / 0.7551 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/1.15, allocations: 1.212 MB / 0.7562 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/1.15, allocations: 13.5 kB / 0.7563 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.15, allocations: 1.125 kB / 0.7563 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.15, allocations: 6.266 kB / 0.7563 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009199/1.159, allocations: 4.399 MB / 0.7606 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.159, allocations: 3.969 kB / 0.7606 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.16, allocations: 211.9 kB / 0.7608 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.696e-05/1.16, allocations: 13.7 kB / 0.7608 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/1.16, allocations: 24.95 kB / 0.7608 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/1.16, allocations: 12.59 kB / 0.7608 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.16, allocations: 5.406 kB / 0.7608 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/1.163, allocations: 2.572 MB / 0.7633 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006995/1.164, allocations: 314.7 kB / 0.7636 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/1.165, allocations: 26.97 kB / 0.7637 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.166, allocations: 72.91 kB / 0.7637 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.166, allocations: 68.61 kB / 0.7638 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/1.166, allocations: 40.14 kB / 0.7638 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003224/1.169, allocations: 1.774 MB / 0.7656 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/1.169, allocations: 0 / 0.7656 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004013/1.173, allocations: 0.6424 MB / 0.7662 GB, free: 145.7 MB / 0.5261 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 () * 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.0003869/1.174, allocations: 169.5 kB / 0.7664 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00428/1.178, allocations: 3.164 MB / 0.7694 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.178, allocations: 0 / 0.7694 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009113/1.179, allocations: 0.7789 MB / 0.7702 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.18, allocations: 243.9 kB / 0.7704 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/1.188, allocations: 4.617 MB / 0.7749 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/1.189, allocations: 2.258 MB / 0.7771 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003179/1.193, allocations: 1.464 MB / 0.7786 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/1.193, allocations: 171.8 kB / 0.7787 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.332e-06/1.193, allocations: 10.66 kB / 0.7788 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.03531/1.229, allocations: 20.69 MB / 0.799 GB, free: 142.6 MB / 0.5261 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","../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches