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.001493/0.001493, allocations: 185.4 kB / 16.4 MB, free: 5.75 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.953/1.953, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001087/0.001087, allocations: 92.41 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003733, allocations: 12 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3211, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4478, allocations: 81.38 MB / 455.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.4481, allocations: 79.95 kB / 456 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06225/0.5103, allocations: 16.2 MB / 472.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5104, allocations: 0 / 472.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.5104, allocations: 8 kB / 472.2 MB, free: 14.92 MB / 362.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.002351/0.5128, allocations: 0.78 MB / 473 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5128, allocations: 8.031 kB / 473 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00442/0.5173, allocations: 439 kB / 473.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.5178, allocations: 318.2 kB / 473.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.094e-05/0.5179, allocations: 45.31 kB / 473.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.518, allocations: 55.95 kB / 473.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.5196, allocations: 0.5492 MB / 474.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.5197, allocations: 0 / 474.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.109e-05/0.5198, allocations: 24 kB / 474.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.5198, allocations: 16 kB / 474.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.5217, allocations: 0.6453 MB / 475.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004758/0.5265, allocations: 2.055 MB / 477.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003935/0.5304, allocations: 3.019 MB / 480.1 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.5306, allocations: 89.53 kB / 480.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.5307, allocations: 39 kB / 480.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.146e-06/0.5307, allocations: 0 / 480.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.003202/0.5339, allocations: 0.8093 MB / 481.1 MB, free: 5.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.534, allocations: 55.84 kB / 481.1 MB, free: 5.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.5342, allocations: 183.6 kB / 481.3 MB, free: 4.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.5343, allocations: 41.58 kB / 481.4 MB, free: 4.906 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.5345, allocations: 310.4 kB / 481.7 MB, free: 4.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.5347, allocations: 161.7 kB / 481.8 MB, free: 4.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.5347, allocations: 12 kB / 481.8 MB, free: 4.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5349, allocations: 334.8 kB / 482.2 MB, free: 4.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.5354, allocations: 161 kB / 482.3 MB, free: 3.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.5361, allocations: 274 kB / 482.6 MB, free: 3.625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.5367, allocations: 204.7 kB / 482.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5367, allocations: 0 / 482.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001749/0.5385, allocations: 0.5825 MB / 483.4 MB, free: 2.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.5385, allocations: 4.938 kB / 483.4 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.5385, allocations: 4 kB / 483.4 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.539, allocations: 92.91 kB / 483.5 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.5399, allocations: 111.8 kB / 483.6 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.5427, allocations: 1.87 MB / 485.4 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.5433, allocations: 59.47 kB / 485.5 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.5433, allocations: 20 kB / 485.5 MB, free: 0.5391 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 () * Number of clocked 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.0003085/0.5436, allocations: 169.7 kB / 485.7 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.5437, allocations: 31.61 kB / 485.7 MB, free: 340 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.5456, allocations: 0.5629 MB / 486.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.5456, allocations: 4 kB / 486.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5456, allocations: 8.188 kB / 486.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5456, allocations: 3.984 kB / 486.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.5483, allocations: 1.149 MB / 487.4 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5483, allocations: 4 kB / 487.4 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/0.5489, allocations: 83.84 kB / 487.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/0.5494, allocations: 88.75 kB / 487.6 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.5495, allocations: 15.92 kB / 487.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.5522, allocations: 1.858 MB / 489.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5522, allocations: 0 / 489.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.5545, allocations: 0.8154 MB / 490.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.5546, allocations: 112.7 kB / 490.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.5547, allocations: 8.062 kB / 490.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.5551, allocations: 23.98 kB / 490.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.5552, allocations: 36.39 kB / 490.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.5553, allocations: 12 kB / 490.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.5555, allocations: 148.1 kB / 490.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5555, allocations: 0 / 490.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008689/0.5564, allocations: 167.5 kB / 490.8 MB, free: 11 MB / 378.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 () * Number of clocked 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.0002856/0.5567, allocations: 139.2 kB / 490.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.5583, allocations: 0.5977 MB / 491.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5584, allocations: 0 / 491.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009251/0.5593, allocations: 392.9 kB / 491.9 MB, free: 9.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.5596, allocations: 36.39 kB / 491.9 MB, free: 9.809 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.5645, allocations: 1.608 MB / 493.6 MB, free: 8.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.565, allocations: 0.8253 MB / 494.4 MB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.5653, allocations: 35.42 kB / 494.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5653, allocations: 4 kB / 494.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of Templates: time 0.01329/0.5786, allocations: 6.389 MB / 0.4891 GB, free: 0.8906 MB / 378.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