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.0009257/0.0009258, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.432/1.432, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007787/0.0007786, allocations: 88.3 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005677/0.0005679, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2491, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08242/0.3316, allocations: 77.63 MB / 454.7 MB, free: 2.922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.3318, allocations: 67.97 kB / 454.7 MB, free: 2.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01159/0.3434, allocations: 4.054 MB / 458.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.3435, allocations: 7.984 kB / 458.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.3435, allocations: 4 kB / 458.8 MB, free: 14.78 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.0006457/0.3441, allocations: 491.1 kB / 459.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3442, allocations: 8.031 kB / 459.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.3443, allocations: 32.56 kB / 459.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.3446, allocations: 236.6 kB / 459.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3446, allocations: 16.81 kB / 459.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.3446, allocations: 24.36 kB / 459.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.345, allocations: 191.8 kB / 459.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.345, allocations: 192 / 459.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.3451, allocations: 15.94 kB / 459.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3451, allocations: 4 kB / 459.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.3454, allocations: 145.6 kB / 459.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.3463, allocations: 0.6389 MB / 460.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3466, allocations: 174.5 kB / 460.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.3468, allocations: 101.5 kB / 460.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3468, allocations: 3.859 kB / 460.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3469, allocations: 46.53 kB / 460.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.864e-06/0.3469, allocations: 0 / 460.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001942/0.3488, allocations: 1.074 MB / 462 MB, free: 11.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3489, allocations: 59.34 kB / 462 MB, free: 11.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3491, allocations: 183.1 kB / 462.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3491, allocations: 33.7 kB / 462.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.3492, allocations: 136.7 kB / 462.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.3493, allocations: 114.3 kB / 462.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.3493, allocations: 8 kB / 462.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3494, allocations: 334.8 kB / 462.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3496, allocations: 71.72 kB / 462.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3497, allocations: 104.7 kB / 463 MB, free: 10.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.3501, allocations: 205.3 kB / 463.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3501, allocations: 0 / 463.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005037/0.3506, allocations: 302.5 kB / 463.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3506, allocations: 8 kB / 463.5 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3506, allocations: 0 / 463.5 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.3508, allocations: 44.84 kB / 463.5 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.351, allocations: 59.91 kB / 463.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.3524, allocations: 1.565 MB / 465.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3526, allocations: 12.03 kB / 465.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3527, allocations: 8 kB / 465.2 MB, free: 7.926 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.0001322/0.3528, allocations: 141.8 kB / 465.3 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.3528, allocations: 23.72 kB / 465.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.3529, allocations: 34.64 kB / 465.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3529, allocations: 7.938 kB / 465.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3529, allocations: 0 / 465.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3529, allocations: 3.984 kB / 465.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.354, allocations: 0.7781 MB / 466.2 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3541, allocations: 11.92 kB / 466.2 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.3543, allocations: 56.16 kB / 466.2 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.3544, allocations: 40.78 kB / 466.3 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3545, allocations: 4 kB / 466.3 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.3555, allocations: 1.382 MB / 467.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3556, allocations: 0 / 467.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.3562, allocations: 497.2 kB / 468.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.3563, allocations: 92.92 kB / 468.2 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3563, allocations: 8 kB / 468.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3565, allocations: 19.94 kB / 468.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.3566, allocations: 19.95 kB / 468.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3566, allocations: 16.22 kB / 468.3 MB, free: 4.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.916e-05/0.3567, allocations: 127.5 kB / 468.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3567, allocations: 0 / 468.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000369/0.3571, allocations: 68 kB / 468.5 MB, free: 4.344 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.0001339/0.3572, allocations: 115.1 kB / 468.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005922/0.3578, allocations: 339.3 kB / 468.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3578, allocations: 0 / 468.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.3582, allocations: 251.1 kB / 469.2 MB, free: 3.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.3586, allocations: 47.89 kB / 469.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.3599, allocations: 0.8784 MB / 470.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3603, allocations: 0.7525 MB / 470.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.349e-05/0.3604, allocations: 30.27 kB / 470.9 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.3604, allocations: 19.44 kB / 470.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3604, allocations: 4 kB / 470.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of Templates: time 0.005549/0.366, allocations: 2.433 MB / 473.3 MB, free: 15.4 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/jenkins1/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