Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002199/0.002199, allocations: 181.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001059/0.001059, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.677e-05, allocations: 8 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09276, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4018/0.4947, allocations: 81.29 MB / 450.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.495, allocations: 82.02 kB / 450.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06347/0.5585, allocations: 16.16 MB / 466.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5586, allocations: 0 / 466.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.5586, allocations: 12 kB / 466.6 MB, free: 13.52 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002518/0.5611, allocations: 0.7527 MB / 467.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.5612, allocations: 8.031 kB / 467.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/0.5657, allocations: 434.9 kB / 467.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007103/0.5664, allocations: 314.4 kB / 468.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.5665, allocations: 41.31 kB / 468.2 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.5667, allocations: 67.86 kB / 468.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.5683, allocations: 0.5181 MB / 468.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.645e-05/0.5684, allocations: 0 / 468.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.812e-05/0.5685, allocations: 24 kB / 468.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.5685, allocations: 12 kB / 468.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.5704, allocations: 0.6026 MB / 469.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00517/0.5756, allocations: 2.062 MB / 471.4 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003983/0.5796, allocations: 2.989 MB / 474.4 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.5802, allocations: 203 kB / 474.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.5804, allocations: 89.53 kB / 474.7 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.5805, allocations: 43 kB / 474.8 MB, free: 4.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.506e-06/0.5805, allocations: 0 / 474.8 MB, free: 4.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001412/0.5819, allocations: 432.4 kB / 475.2 MB, free: 4.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.582, allocations: 59.78 kB / 475.2 MB, free: 4.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.5823, allocations: 179.8 kB / 475.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.5824, allocations: 33.7 kB / 475.5 MB, free: 3.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.5826, allocations: 314.4 kB / 475.8 MB, free: 3.531 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.5828, allocations: 165.6 kB / 475.9 MB, free: 3.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.5829, allocations: 16 kB / 475.9 MB, free: 3.352 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5831, allocations: 334.8 kB / 476.3 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.5835, allocations: 141.1 kB / 476.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.584, allocations: 254 kB / 476.6 MB, free: 2.586 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.5845, allocations: 177.6 kB / 476.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.5846, allocations: 0 / 476.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001598/0.5862, allocations: 0.5394 MB / 477.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.5862, allocations: 8 kB / 477.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.5863, allocations: 4 kB / 477.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/0.5868, allocations: 93.03 kB / 477.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/0.5877, allocations: 103.9 kB / 477.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/0.5907, allocations: 1.852 MB / 479.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/0.5913, allocations: 59.58 kB / 479.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.5914, allocations: 20 kB / 479.5 MB, free: 15.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.5916, allocations: 132.8 kB / 479.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.5e-05/0.5917, allocations: 31.62 kB / 479.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.5933, allocations: 0.5081 MB / 480.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5934, allocations: 4 kB / 480.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.5934, allocations: 4 kB / 480.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.5934, allocations: 11.94 kB / 480.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.596, allocations: 1.103 MB / 481.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5961, allocations: 4 kB / 481.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/0.5968, allocations: 83.77 kB / 481.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/0.5973, allocations: 92.75 kB / 481.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.5973, allocations: 8 kB / 481.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002856/0.6002, allocations: 1.838 MB / 483.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.6003, allocations: 3.984 kB / 483.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.6023, allocations: 0.753 MB / 484.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.6024, allocations: 112.8 kB / 484.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.683e-05/0.6025, allocations: 4 kB / 484.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.603, allocations: 23.98 kB / 484.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.6031, allocations: 32.39 kB / 484.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.6032, allocations: 16 kB / 484.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002134/0.6034, allocations: 148.2 kB / 484.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6034, allocations: 64 / 484.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008861/0.6043, allocations: 171.5 kB / 484.6 MB, free: 10.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003495/0.6047, allocations: 147.9 kB / 484.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.6062, allocations: 0.558 MB / 485.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.6063, allocations: 4.75 kB / 485.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008579/0.6071, allocations: 368.8 kB / 485.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.6075, allocations: 24.31 kB / 485.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.6124, allocations: 1.131 MB / 486.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.613, allocations: 0.8293 MB / 487.6 MB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.6132, allocations: 35.44 kB / 487.6 MB, free: 7.098 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6132, allocations: 0 / 487.6 MB, free: 7.098 MB / 362.7 MB Notification: Performance of Templates: time 0.01424/0.6275, allocations: 6.392 MB / 494 MB, free: 0.6992 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches