Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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) 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(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001755/0.001754, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.464/1.464, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008382/0.0008382, allocations: 96.14 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002545, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2371, allocations: 47.58 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09183/0.3289, allocations: 77.58 MB / 453.4 MB, free: 3.082 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.3292, allocations: 71.95 kB / 453.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01106/0.3403, allocations: 4.047 MB / 457.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3403, allocations: 0 / 457.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.3403, allocations: 8 kB / 457.5 MB, free: 14.95 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007305/0.3411, allocations: 498.8 kB / 458 MB, free: 14.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3411, allocations: 12.03 kB / 458 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.3412, allocations: 27.62 kB / 458 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.3415, allocations: 223.4 kB / 458.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3415, allocations: 16.44 kB / 458.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.3416, allocations: 31.95 kB / 458.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.342, allocations: 195.2 kB / 458.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.342, allocations: 4 kB / 458.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.342, allocations: 4 kB / 458.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3421, allocations: 4 kB / 458.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.3423, allocations: 141.7 kB / 458.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009913/0.3434, allocations: 0.6273 MB / 459.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.3437, allocations: 182.8 kB / 459.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3437, allocations: 4.406 kB / 459.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3437, allocations: 38.48 kB / 459.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.873e-06/0.3438, allocations: 0 / 459.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001981/0.3457, allocations: 1.089 MB / 460.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3458, allocations: 55.41 kB / 460.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.346, allocations: 162.3 kB / 460.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.346, allocations: 29.7 kB / 460.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.3461, allocations: 140.7 kB / 461 MB, free: 11.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/0.3462, allocations: 114.3 kB / 461.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.3462, allocations: 8 kB / 461.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3463, allocations: 334.8 kB / 461.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.3465, allocations: 79.7 kB / 461.5 MB, free: 10.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.3466, allocations: 108.7 kB / 461.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3468, allocations: 81.41 kB / 461.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3468, allocations: 0 / 461.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005038/0.3473, allocations: 303.9 kB / 462 MB, free: 10.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3474, allocations: 4 kB / 462 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3474, allocations: 0 / 462 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/0.3476, allocations: 48.78 kB / 462 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.3478, allocations: 59.84 kB / 462.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.3493, allocations: 1.577 MB / 463.7 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.3495, allocations: 16.09 kB / 463.7 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3495, allocations: 11.98 kB / 463.7 MB, free: 8.324 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.3497, allocations: 141.8 kB / 463.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.3497, allocations: 27.67 kB / 463.8 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/0.3498, allocations: 26.66 kB / 463.9 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3498, allocations: 4 kB / 463.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3498, allocations: 0 / 463.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3498, allocations: 7.984 kB / 463.9 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.351, allocations: 0.7823 MB / 464.7 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.351, allocations: 4 kB / 464.7 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.3513, allocations: 59.86 kB / 464.7 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.3514, allocations: 40.83 kB / 464.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.3514, allocations: 4 kB / 464.8 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.3525, allocations: 1.394 MB / 466.2 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3526, allocations: 0 / 466.2 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/0.3533, allocations: 0.518 MB / 466.7 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.3534, allocations: 92.95 kB / 466.8 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.3534, allocations: 11.95 kB / 466.8 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3535, allocations: 11.94 kB / 466.8 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.3536, allocations: 23.97 kB / 466.8 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3536, allocations: 4 kB / 466.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.3537, allocations: 143.5 kB / 467 MB, free: 4.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3538, allocations: 0 / 467 MB, free: 4.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.3541, allocations: 64 kB / 467 MB, free: 4.688 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.3543, allocations: 111.1 kB / 467.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.355, allocations: 347 kB / 467.5 MB, free: 4.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.355, allocations: 0 / 467.5 MB, free: 4.219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.3553, allocations: 246.8 kB / 467.7 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.3557, allocations: 32.16 kB / 467.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3571, allocations: 0.8858 MB / 468.6 MB, free: 3.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.3575, allocations: 0.7641 MB / 469.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.687e-05/0.3576, allocations: 26.27 kB / 469.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.3576, allocations: 19.44 kB / 469.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3576, allocations: 0 / 469.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of Templates: time 0.006011/0.3636, allocations: 2.416 MB / 471.9 MB, free: 15.77 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches