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.002609/0.002615, allocations: 189 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.101/3.101, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001724/0.001723, allocations: 94.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000638/0.0006382, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1489, allocations: 47.59 MB / 374.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.00873/0.1577, allocations: 3.015 MB / 377.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005702/0.1635, allocations: 1.345 MB / 378.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006304/0.1642, allocations: 8 kB / 378.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1654, allocations: 131.3 kB / 379 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.1688, allocations: 494.5 kB / 379.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.171, allocations: 347 kB / 379.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.1725, allocations: 331.3 kB / 380.2 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/0.1757, allocations: 0.6328 MB / 380.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007381/0.1765, allocations: 179.3 kB / 381 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007512/0.1773, allocations: 231.1 kB / 381.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.1775, allocations: 24 kB / 381.3 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.1787, allocations: 155.8 kB / 381.4 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.179, allocations: 87.66 kB / 381.5 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.1793, allocations: 101.5 kB / 381.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.1811, allocations: 0.5144 MB / 382.1 MB, free: 7.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1812, allocations: 4 kB / 382.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.488e-06/0.1812, allocations: 0 / 382.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.643e-05/0.1812, allocations: 0 / 382.1 MB, free: 7.793 MB / 282.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.004945/0.1862, allocations: 0.8388 MB / 382.9 MB, free: 6.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.767e-05/0.1863, allocations: 11.97 kB / 383 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.1978, allocations: 0.6003 MB / 383.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.1989, allocations: 314.3 kB / 383.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.199, allocations: 41.31 kB / 383.9 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/0.1993, allocations: 59.91 kB / 384 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.2023, allocations: 0.5492 MB / 384.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.2024, allocations: 4 kB / 384.5 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.2026, allocations: 24 kB / 384.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.2027, allocations: 16 kB / 384.6 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003527/0.2062, allocations: 0.6414 MB / 385.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008767/0.2151, allocations: 2.046 MB / 387.2 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3897/0.6049, allocations: 3.005 MB / 390.2 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.6052, allocations: 91.77 kB / 390.3 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.6052, allocations: 39.31 kB / 390.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 5.19e-06/0.6053, allocations: 0 / 390.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.005455/0.6107, allocations: 0.8051 MB / 391.2 MB, free: 17.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.6109, allocations: 57.34 kB / 391.2 MB, free: 17.36 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.6114, allocations: 205.1 kB / 391.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.6116, allocations: 34.11 kB / 391.5 MB, free: 17.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.6119, allocations: 305.3 kB / 391.8 MB, free: 17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.6123, allocations: 167.5 kB / 391.9 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.6124, allocations: 11.19 kB / 391.9 MB, free: 16.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6125, allocations: 334.2 kB / 392.3 MB, free: 16.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009921/0.6136, allocations: 162.7 kB / 392.4 MB, free: 16.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.6147, allocations: 275 kB / 392.7 MB, free: 16.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.6159, allocations: 203.2 kB / 392.9 MB, free: 16.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/0.6159, allocations: 1.375 kB / 392.9 MB, free: 16.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00311/0.6191, allocations: 0.5773 MB / 393.5 MB, free: 16.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.6192, allocations: 7.484 kB / 393.5 MB, free: 16.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.6192, allocations: 5.719 kB / 393.5 MB, free: 16.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008161/0.62, allocations: 91.77 kB / 393.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.6213, allocations: 112.1 kB / 393.7 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004403/0.6258, allocations: 1.877 MB / 395.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008751/0.6267, allocations: 55.41 kB / 395.6 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.6269, allocations: 28.27 kB / 395.6 MB, free: 14.57 MB / 282.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.0004757/0.6274, allocations: 168.4 kB / 395.8 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.6276, allocations: 29.28 kB / 395.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.6306, allocations: 0.5685 MB / 396.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.6307, allocations: 4.672 kB / 396.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6307, allocations: 2.969 kB / 396.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.6308, allocations: 6.953 kB / 396.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/0.6356, allocations: 1.15 MB / 397.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.6357, allocations: 4 kB / 397.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009735/0.6367, allocations: 80.94 kB / 397.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007625/0.6375, allocations: 82.03 kB / 397.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.6377, allocations: 12.44 kB / 397.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004251/0.6419, allocations: 1.863 MB / 399.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.642, allocations: 1.375 kB / 399.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/0.6459, allocations: 0.8121 MB / 400.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.6462, allocations: 113.4 kB / 400.5 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.6464, allocations: 10.69 kB / 400.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/0.6471, allocations: 26.12 kB / 400.6 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.6473, allocations: 34.3 kB / 400.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/0.6474, allocations: 20.41 kB / 400.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002945/0.6477, allocations: 145.4 kB / 400.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.6478, allocations: 0 / 400.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001611/0.6494, allocations: 160.3 kB / 400.9 MB, free: 11.11 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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.0004913/0.65, allocations: 132.1 kB / 401 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003001/0.653, allocations: 0.5933 MB / 401.6 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.6531, allocations: 4.062 kB / 401.6 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.6549, allocations: 390.2 kB / 402 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.6556, allocations: 25.89 kB / 402.1 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.6594, allocations: 1.078 MB / 403.1 MB, free: 9.797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.66, allocations: 0.8281 MB / 404 MB, free: 9.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.6604, allocations: 43.53 kB / 404 MB, free: 9.086 MB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6604, allocations: 0 / 404 MB, free: 9.086 MB / 282.7 MB Notification: Performance of Templates: time 0.02496/0.6854, allocations: 6.391 MB / 410.4 MB, free: 7.195 MB / 282.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