Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 99.45 kB / 17.59 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 191.3 kB / 18.52 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 51.08 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1355, allocations: 49.44 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005376/0.1409, allocations: 3.683 MB / 354.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.1436, allocations: 1.417 MB / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.1438, allocations: 15.94 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.1456, allocations: 0.765 MB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.1469, allocations: 0.536 MB / 357.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008485/0.1477, allocations: 425.8 kB / 357.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.1483, allocations: 466 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007123/0.149, allocations: 462.1 kB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.1493, allocations: 219.2 kB / 358.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.1496, allocations: 270.9 kB / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.1497, allocations: 44 kB / 359 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.1502, allocations: 219.8 kB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.1503, allocations: 107.6 kB / 359.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.1505, allocations: 234.9 kB / 359.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007603/0.1512, allocations: 0.6814 MB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1513, allocations: 0 / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1513, allocations: 4 kB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1513, allocations: 0 / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002109/0.1534, allocations: 0.917 MB / 361.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1535, allocations: 15.89 kB / 361.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.1569, allocations: 491.9 kB / 361.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.1574, allocations: 303.6 kB / 361.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.1574, allocations: 37.69 kB / 362 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/0.1575, allocations: 64.36 kB / 362 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009683/0.1585, allocations: 0.522 MB / 362.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1585, allocations: 0 / 362.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.1586, allocations: 20 kB / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.1586, allocations: 12 kB / 362.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.1596, allocations: 0.5751 MB / 363.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.1625, allocations: 1.886 MB / 365.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.1647, allocations: 2.17 MB / 367.2 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.1651, allocations: 266.1 kB / 367.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.492e-05/0.1652, allocations: 89.55 kB / 367.6 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.1653, allocations: 42.94 kB / 367.6 MB, free: 2.891 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.1653, allocations: 0 / 367.6 MB, free: 2.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001787/0.1671, allocations: 0.7426 MB / 368.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1671, allocations: 55.84 kB / 368.4 MB, free: 2.055 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1674, allocations: 194.8 kB / 368.6 MB, free: 1.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.1674, allocations: 29.7 kB / 368.6 MB, free: 1.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1675, allocations: 216.5 kB / 368.8 MB, free: 1.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.1677, allocations: 161.7 kB / 369 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.1678, allocations: 86.09 kB / 369.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1679, allocations: 334.8 kB / 369.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.1682, allocations: 157 kB / 369.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.1686, allocations: 242.5 kB / 369.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006469/0.1693, allocations: 412.8 kB / 370.2 MB, free: 164 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1693, allocations: 4 kB / 370.2 MB, free: 160 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1563/0.3256, allocations: 0.5275 MB / 370.7 MB, free: 25.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.3257, allocations: 6.25 kB / 370.7 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3257, allocations: 3.969 kB / 370.7 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/0.3261, allocations: 84.05 kB / 370.8 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.3266, allocations: 95.97 kB / 370.9 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.3281, allocations: 1.774 MB / 372.7 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.3285, allocations: 46.17 kB / 372.7 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.3285, allocations: 18.67 kB / 372.8 MB, free: 24.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.3287, allocations: 170.4 kB / 372.9 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.3288, allocations: 29.59 kB / 373 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.33, allocations: 0.5448 MB / 373.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.33, allocations: 5.094 kB / 373.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.33, allocations: 5.625 kB / 373.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.33, allocations: 3.281 kB / 373.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.3318, allocations: 1.148 MB / 374.7 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3318, allocations: 2.156 kB / 374.7 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.3322, allocations: 75.39 kB / 374.7 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.3325, allocations: 81.94 kB / 374.8 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.3325, allocations: 9.969 kB / 374.8 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.3339, allocations: 1.776 MB / 376.6 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3339, allocations: 0.5625 kB / 376.6 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.3351, allocations: 0.8031 MB / 377.4 MB, free: 21.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.861e-05/0.3352, allocations: 108.5 kB / 377.5 MB, free: 21.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.3353, allocations: 15.38 kB / 377.5 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.3355, allocations: 20.47 kB / 377.5 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3357, allocations: 43 kB / 377.6 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.3357, allocations: 14.19 kB / 377.6 MB, free: 21.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3358, allocations: 131.9 kB / 377.7 MB, free: 20.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3358, allocations: 0 / 377.7 MB, free: 20.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005842/0.3364, allocations: 152.9 kB / 377.9 MB, free: 20.92 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/0.3367, allocations: 140.3 kB / 378 MB, free: 20.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.3378, allocations: 0.589 MB / 378.6 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3379, allocations: 0 / 378.6 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.3384, allocations: 380.6 kB / 379 MB, free: 20.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.3388, allocations: 36.41 kB / 379 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3401, allocations: 0.8447 MB / 379.9 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3404, allocations: 0.8052 MB / 380.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3405, allocations: 42.78 kB / 380.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3405, allocations: 0 / 380.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of Templates: time 0.01007/0.3506, allocations: 6.302 MB / 387 MB, free: 17.58 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches