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.001566/0.001566, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.249/2.249, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 94.3 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.035e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.4557, allocations: 80.64 MB / 443 MB, free: 5.691 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.456, allocations: 83.73 kB / 443.1 MB, free: 5.613 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06409/0.5201, allocations: 15.95 MB / 459 MB, free: 5.539 MB / 347.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.5202, allocations: 0 / 459 MB, free: 5.539 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.5203, allocations: 11.94 kB / 459 MB, free: 5.527 MB / 347.1 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.002558/0.5228, allocations: 0.7488 MB / 459.8 MB, free: 4.734 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.5229, allocations: 8.031 kB / 459.8 MB, free: 4.727 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004497/0.5274, allocations: 435.8 kB / 460.2 MB, free: 4.301 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/0.5282, allocations: 306.4 kB / 460.5 MB, free: 3.961 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.5282, allocations: 20 kB / 460.5 MB, free: 3.941 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.5284, allocations: 39.86 kB / 460.6 MB, free: 3.902 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001574/0.53, allocations: 0.5727 MB / 461.1 MB, free: 3.328 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.5312, allocations: 423.9 kB / 461.5 MB, free: 2.906 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.5312, allocations: 0 / 461.5 MB, free: 2.906 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/0.5313, allocations: 0 / 461.5 MB, free: 2.906 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.5313, allocations: 19.94 kB / 461.6 MB, free: 2.887 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004829/0.5362, allocations: 1.96 MB / 463.5 MB, free: 0.8086 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/0.5401, allocations: 2.969 MB / 466.5 MB, free: 13.29 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.5407, allocations: 182.2 kB / 466.7 MB, free: 13.11 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.5409, allocations: 93.47 kB / 466.8 MB, free: 13 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.5409, allocations: 39 kB / 466.8 MB, free: 12.95 MB / 363.1 MB Notification: Performance of pre-optimization done (n=49): time 5.441e-06/0.541, allocations: 0 / 466.8 MB, free: 12.95 MB / 363.1 MB Notification: Performance of matching and sorting (n=49): time 0.001795/0.5428, allocations: 476.4 kB / 467.3 MB, free: 12.47 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.5428, allocations: 67.84 kB / 467.3 MB, free: 12.39 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.5431, allocations: 157.4 kB / 467.5 MB, free: 12.23 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.5431, allocations: 25.7 kB / 467.5 MB, free: 12.2 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.5433, allocations: 314.4 kB / 467.8 MB, free: 11.89 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.5435, allocations: 153.7 kB / 468 MB, free: 11.73 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.5436, allocations: 4 kB / 468 MB, free: 11.73 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5438, allocations: 338.8 kB / 468.3 MB, free: 11.39 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.5441, allocations: 125.1 kB / 468.4 MB, free: 11.27 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.5446, allocations: 241.9 kB / 468.7 MB, free: 10.99 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5457, allocations: 263 kB / 468.9 MB, free: 10.74 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.5457, allocations: 4 kB / 468.9 MB, free: 10.73 MB / 363.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00203/0.5478, allocations: 0.5822 MB / 469.5 MB, free: 10.14 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5478, allocations: 4 kB / 469.5 MB, free: 10.14 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5478, allocations: 4.406 kB / 469.5 MB, free: 10.14 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/0.5484, allocations: 96.75 kB / 469.6 MB, free: 10.04 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/0.5492, allocations: 107.8 kB / 469.7 MB, free: 9.934 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.552, allocations: 1.77 MB / 471.5 MB, free: 8.051 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.5526, allocations: 43.52 kB / 471.5 MB, free: 8.008 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.5527, allocations: 23.95 kB / 471.5 MB, free: 7.984 MB / 363.1 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.0001812/0.5529, allocations: 120.8 kB / 471.7 MB, free: 7.859 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.553, allocations: 23.72 kB / 471.7 MB, free: 7.836 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.555, allocations: 0.5513 MB / 472.2 MB, free: 7.273 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.5551, allocations: 4 kB / 472.2 MB, free: 7.27 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5551, allocations: 4 kB / 472.2 MB, free: 7.266 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5551, allocations: 0 / 472.2 MB, free: 7.266 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.5579, allocations: 1.068 MB / 473.3 MB, free: 6.148 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5579, allocations: 7.938 kB / 473.3 MB, free: 6.141 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/0.5586, allocations: 79.89 kB / 473.4 MB, free: 6.062 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/0.559, allocations: 80.81 kB / 473.5 MB, free: 5.98 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.5591, allocations: 11.89 kB / 473.5 MB, free: 5.969 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.5617, allocations: 1.766 MB / 475.3 MB, free: 4.09 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.5617, allocations: 4 kB / 475.3 MB, free: 4.086 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.564, allocations: 0.7842 MB / 476 MB, free: 3.281 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.5642, allocations: 112.7 kB / 476.2 MB, free: 3.152 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.5643, allocations: 4 kB / 476.2 MB, free: 3.148 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.5647, allocations: 11.98 kB / 476.2 MB, free: 3.137 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5648, allocations: 32.39 kB / 476.2 MB, free: 3.105 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.5649, allocations: 20.05 kB / 476.2 MB, free: 3.086 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.565, allocations: 132.3 kB / 476.4 MB, free: 2.957 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5651, allocations: 0 / 476.4 MB, free: 2.957 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0008771/0.5659, allocations: 143.5 kB / 476.5 MB, free: 2.816 MB / 363.1 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.0002988/0.5663, allocations: 135.1 kB / 476.6 MB, free: 2.676 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.5676, allocations: 0.5277 MB / 477.2 MB, free: 2.137 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5676, allocations: 4.312 kB / 477.2 MB, free: 2.133 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007469/0.5684, allocations: 339.2 kB / 477.5 MB, free: 1.793 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.5687, allocations: 9.594 kB / 477.5 MB, free: 1.785 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.5732, allocations: 1.097 MB / 478.6 MB, free: 0.6562 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.5737, allocations: 0.8248 MB / 479.4 MB, free: 15.8 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.574, allocations: 39.42 kB / 479.5 MB, free: 15.77 MB / 379.1 MB Notification: Performance of SimCode: time 1.092e-06/0.574, allocations: 0 / 479.5 MB, free: 15.77 MB / 379.1 MB Notification: Performance of Templates: time 0.01401/0.588, allocations: 6.321 MB / 485.8 MB, free: 9.48 MB / 379.1 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