Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001591/0.001591, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.5 MB / 245.4 MB, free: 6.395 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007723/0.0007723, allocations: 93.47 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3683/0.3683, allocations: 44.82 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.000281, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3837, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.5204, allocations: 89 MB / 0.6053 GB, free: 344 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5207, allocations: 71.95 kB / 0.6054 GB, free: 276 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01765/0.5384, allocations: 6.484 MB / 0.6117 GB, free: 9.742 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5385, allocations: 0 / 0.6117 GB, free: 9.742 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.6e-05/0.5385, allocations: 15.92 kB / 0.6117 GB, free: 9.727 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001145/0.5397, allocations: 0.6009 MB / 0.6123 GB, free: 9.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5397, allocations: 12.88 kB / 0.6123 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.5402, allocations: 80.42 kB / 0.6124 GB, free: 8.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.5406, allocations: 280.5 kB / 0.6127 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.5406, allocations: 25.38 kB / 0.6127 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.5407, allocations: 44.38 kB / 0.6127 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/0.5414, allocations: 385.5 kB / 0.6131 GB, free: 8.203 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.5415, allocations: 8.094 kB / 0.6131 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.5415, allocations: 27.86 kB / 0.6132 GB, free: 8.168 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.5416, allocations: 12 kB / 0.6132 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.5421, allocations: 256.3 kB / 0.6134 GB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.5438, allocations: 1.105 MB / 0.6145 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.5444, allocations: 359.5 kB / 0.6148 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.5447, allocations: 187.2 kB / 0.615 GB, free: 6.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.5447, allocations: 8 kB / 0.615 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.5448, allocations: 34.56 kB / 0.615 GB, free: 6.121 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 2.254e-06/0.5448, allocations: 4 kB / 0.6151 GB, free: 6.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.003986/0.5488, allocations: 2.473 MB / 0.6175 GB, free: 3.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.5489, allocations: 110.8 kB / 0.6176 GB, free: 3.246 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.5491, allocations: 238.6 kB / 0.6178 GB, free: 3.004 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.5492, allocations: 37.7 kB / 0.6178 GB, free: 2.961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.5493, allocations: 180.6 kB / 0.618 GB, free: 2.781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.5495, allocations: 201 kB / 0.6182 GB, free: 2.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.5495, allocations: 12 kB / 0.6182 GB, free: 2.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5497, allocations: 350.7 kB / 0.6185 GB, free: 2.219 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.5499, allocations: 133 kB / 0.6187 GB, free: 2.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.5503, allocations: 243.8 kB / 0.6189 GB, free: 1.816 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.5509, allocations: 411 kB / 0.6193 GB, free: 1.379 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5509, allocations: 0 / 0.6193 GB, free: 1.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001034/0.552, allocations: 0.5693 MB / 0.6199 GB, free: 0.793 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.552, allocations: 4 kB / 0.6199 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.552, allocations: 4 kB / 0.6199 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.5524, allocations: 122.7 kB / 0.62 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.5528, allocations: 103.9 kB / 0.6201 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.5569, allocations: 4.672 MB / 0.6246 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.5572, allocations: 20.12 kB / 0.6247 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.5573, allocations: 20 kB / 0.6247 GB, free: 11.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.5575, allocations: 170 kB / 0.6248 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.5577, allocations: 35.53 kB / 0.6249 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.388e-05/0.5578, allocations: 46.12 kB / 0.6249 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5578, allocations: 15.98 kB / 0.6249 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/0.5578, allocations: 4 kB / 0.6249 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5578, allocations: 4 kB / 0.6249 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.56, allocations: 1.339 MB / 0.6262 GB, free: 9.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.56, allocations: 3.938 kB / 0.6263 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.5604, allocations: 99.88 kB / 0.6263 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.5607, allocations: 98.61 kB / 0.6264 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.5608, allocations: 8 kB / 0.6264 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003338/0.5641, allocations: 4.119 MB / 0.6305 GB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.5641, allocations: 0 / 0.6305 GB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.5655, allocations: 0.9502 MB / 0.6314 GB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5657, allocations: 108.7 kB / 0.6315 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.5657, allocations: 16.06 kB / 0.6315 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.566, allocations: 23.92 kB / 0.6315 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.5661, allocations: 39.94 kB / 0.6316 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.5662, allocations: 19.94 kB / 0.6316 GB, free: 3.805 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.5664, allocations: 170 kB / 0.6318 GB, free: 3.641 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5664, allocations: 4 kB / 0.6318 GB, free: 3.637 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008141/0.5672, allocations: 128 kB / 0.6319 GB, free: 3.512 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002036/0.5674, allocations: 115.6 kB / 0.632 GB, free: 3.391 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.5688, allocations: 0.7653 MB / 0.6327 GB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5688, allocations: 0 / 0.6327 GB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007884/0.5696, allocations: 0.5936 MB / 0.6333 GB, free: 1.953 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/0.5703, allocations: 59.22 kB / 0.6334 GB, free: 1.898 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.5724, allocations: 1.307 MB / 0.6347 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.5728, allocations: 0.8124 MB / 0.6354 GB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.573, allocations: 43.25 kB / 0.6355 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.5731, allocations: 27.44 kB / 0.6355 GB, free: 15.64 MB / 458.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5731, allocations: 0 / 0.6355 GB, free: 15.64 MB / 458.7 MB Notification: Performance of Templates: time 0.009226/0.5823, allocations: 4.043 MB / 0.6395 GB, free: 11.61 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches