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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008336/0.0008336, allocations: 95 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009164/0.0009163, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002898, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 63.56 MB / 483.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01357/0.1337, allocations: 13.8 MB / 496.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008055/0.1418, allocations: 4.463 MB / 0.4896 GB, free: 1.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.1434, allocations: 59.81 kB / 0.4896 GB, free: 1.789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008691/0.1443, allocations: 282.7 kB / 0.4899 GB, free: 1.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.1474, allocations: 1.207 MB / 0.4911 GB, free: 308 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1485, allocations: 495.1 kB / 0.4916 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004059/0.1526, allocations: 3.495 MB / 0.495 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.1547, allocations: 1.471 MB / 0.4964 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009392/0.1557, allocations: 0.6301 MB / 0.497 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.1572, allocations: 1.156 MB / 0.4981 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.1574, allocations: 80 kB / 0.4982 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1589, allocations: 0.9281 MB / 0.4991 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009271/0.1598, allocations: 0.9659 MB / 0.5001 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.1609, allocations: 1.174 MB / 0.5012 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004508/0.1654, allocations: 3.749 MB / 0.5049 GB, free: 2.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1654, allocations: 0 / 0.5049 GB, free: 2.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1655, allocations: 3.938 kB / 0.5049 GB, free: 2.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.63e-05/0.1655, allocations: 4 kB / 0.5049 GB, free: 2.09 MB / 382.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.2466/0.4121, allocations: 2.432 MB / 0.5073 GB, free: 20.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.4122, allocations: 9.594 kB / 0.5073 GB, free: 20.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007272/0.4195, allocations: 1.695 MB / 0.5089 GB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.4228, allocations: 1.31 MB / 0.5102 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.4229, allocations: 121.7 kB / 0.5103 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004691/0.4234, allocations: 163.9 kB / 0.5105 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.4361, allocations: 6.471 MB / 0.5168 GB, free: 18.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.4362, allocations: 29.8 kB / 0.5168 GB, free: 18.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.4366, allocations: 89.03 kB / 0.5169 GB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002904/0.4395, allocations: 1.434 MB / 0.5183 GB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.4511, allocations: 5.74 MB / 0.5239 GB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02687/0.4781, allocations: 26.77 MB / 0.5501 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.4824, allocations: 2.133 MB / 0.5521 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.4838, allocations: 1.04 MB / 0.5532 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.484, allocations: 174.7 kB / 0.5533 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.484, allocations: 54.58 kB / 0.5534 GB, free: 8.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 4.759e-06/0.4841, allocations: 0 / 0.5534 GB, free: 8.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01619/0.5003, allocations: 6.336 MB / 0.5596 GB, free: 2.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.5004, allocations: 145 kB / 0.5597 GB, free: 1.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/0.5046, allocations: 2.886 MB / 0.5625 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.5048, allocations: 37.7 kB / 0.5626 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.5064, allocations: 2.109 MB / 0.5646 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000466/0.5068, allocations: 451.8 kB / 0.565 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/0.5073, allocations: 379.6 kB / 0.5654 GB, free: 11.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.5073, allocations: 304.1 kB / 0.5657 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/0.5095, allocations: 1.43 MB / 0.5671 GB, free: 10.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004426/0.514, allocations: 4.299 MB / 0.5713 GB, free: 4.559 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007883/0.5219, allocations: 6.211 MB / 0.5774 GB, free: 13.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.113e-05/0.522, allocations: 28 kB / 0.5774 GB, free: 13.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0116/0.5336, allocations: 5.504 MB / 0.5828 GB, free: 7.777 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/0.5337, allocations: 52 kB / 0.5828 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.5339, allocations: 100.9 kB / 0.5829 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.534, allocations: 136 kB / 0.583 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004336/0.5384, allocations: 1.228 MB / 0.5842 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001679/0.5385, allocations: 206.1 kB / 0.5844 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.5413, allocations: 242.4 kB / 0.5847 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/0.5417, allocations: 284 kB / 0.5849 GB, free: 5.555 MB / 430.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.001969/0.5437, allocations: 1.384 MB / 0.5863 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/0.544, allocations: 240.5 kB / 0.5865 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.5461, allocations: 1.242 MB / 0.5877 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.5461, allocations: 12 kB / 0.5877 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5461, allocations: 0 / 0.5877 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.5461, allocations: 11.92 kB / 0.5878 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007116/0.5533, allocations: 4.547 MB / 0.5922 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.5533, allocations: 8.062 kB / 0.5922 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/0.5552, allocations: 371.3 kB / 0.5926 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.5552, allocations: 9.203 kB / 0.5926 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/0.5553, allocations: 24 kB / 0.5926 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.5553, allocations: 11.94 kB / 0.5926 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5553, allocations: 4 kB / 0.5926 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.5579, allocations: 2.165 MB / 0.5947 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/0.5584, allocations: 309.8 kB / 0.595 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.5586, allocations: 23.98 kB / 0.595 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009001/0.5595, allocations: 58.97 kB / 0.5951 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.5597, allocations: 63.81 kB / 0.5952 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.699e-05/0.5598, allocations: 44.27 kB / 0.5952 GB, free: 10.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002625/0.5624, allocations: 1.811 MB / 0.597 GB, free: 9.047 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5624, allocations: 0.6562 kB / 0.597 GB, free: 9.047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003093/0.5655, allocations: 0.6169 MB / 0.5976 GB, free: 8.434 MB / 446.1 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.0003099/0.5658, allocations: 161.1 kB / 0.5977 GB, free: 8.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004678/0.5705, allocations: 3.266 MB / 0.6009 GB, free: 5.043 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5705, allocations: 0 / 0.6009 GB, free: 5.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009871/0.5715, allocations: 0.7971 MB / 0.6017 GB, free: 4.246 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/0.5746, allocations: 261 kB / 0.6019 GB, free: 3.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009276/0.5839, allocations: 6.803 MB / 0.6086 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/0.5861, allocations: 2.207 MB / 0.6107 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003803/0.5899, allocations: 1.471 MB / 0.6122 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/0.5905, allocations: 171.4 kB / 0.6123 GB, free: 9.215 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5905, allocations: 0 / 0.6123 GB, free: 9.215 MB / 462.1 MB Notification: Performance of Templates: time 0.04047/0.631, allocations: 20.88 MB / 0.6327 GB, free: 4.465 MB / 478.1 MB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches