Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) 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 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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001177/0.001177, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.002191, allocations: 60.23 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1321, allocations: 46.62 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.006339/0.1385, allocations: 3.76 MB / 330.4 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.1419, allocations: 1.457 MB / 331.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006239/0.1427, allocations: 12 kB / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.1447, allocations: 0.7083 MB / 332.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.1464, allocations: 0.5213 MB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1475, allocations: 410.7 kB / 333.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007672/0.1483, allocations: 473.7 kB / 333.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009232/0.1492, allocations: 430.5 kB / 334.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.1497, allocations: 215.1 kB / 334.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.1502, allocations: 274.9 kB / 334.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.1503, allocations: 32 kB / 334.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006494/0.151, allocations: 203.8 kB / 335.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1511, allocations: 103.6 kB / 335.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.1515, allocations: 242.7 kB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.1527, allocations: 0.6969 MB / 336.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1527, allocations: 0 / 336.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1527, allocations: 8 kB / 336.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.1527, allocations: 0 / 336.1 MB, free: 11.33 MB / 286.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.002666/0.1554, allocations: 0.9366 MB / 337 MB, free: 10.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1555, allocations: 8.031 kB / 337 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/0.1598, allocations: 0.5857 MB / 337.6 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/0.1604, allocations: 327.5 kB / 337.9 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.1605, allocations: 41.69 kB / 338 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.1607, allocations: 56.38 kB / 338 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.162, allocations: 0.5687 MB / 338.6 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.162, allocations: 0 / 338.6 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.1621, allocations: 28 kB / 338.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1621, allocations: 12 kB / 338.7 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.1633, allocations: 0.6454 MB / 339.3 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.1671, allocations: 2.067 MB / 341.4 MB, free: 5.844 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.1696, allocations: 2.993 MB / 344.4 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.1701, allocations: 274 kB / 344.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.99e-05/0.1702, allocations: 97.52 kB / 344.7 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1703, allocations: 43 kB / 344.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 4.167e-06/0.1703, allocations: 3.984 kB / 344.8 MB, free: 1.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001733/0.172, allocations: 0.7427 MB / 345.5 MB, free: 1.074 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1721, allocations: 63.78 kB / 345.6 MB, free: 1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1723, allocations: 205 kB / 345.8 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.1723, allocations: 33.7 kB / 345.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1725, allocations: 236.1 kB / 346 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.1726, allocations: 169.5 kB / 346.2 MB, free: 356 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.1728, allocations: 98.14 kB / 346.3 MB, free: 252 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1729, allocations: 334.8 kB / 346.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.1732, allocations: 165 kB / 346.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.1736, allocations: 287.6 kB / 347.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007218/0.1744, allocations: 470.2 kB / 347.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.1744, allocations: 8 kB / 347.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001197/0.1756, allocations: 0.5826 MB / 348.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.1756, allocations: 8 kB / 348.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.1757, allocations: 4 kB / 348.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.176, allocations: 84.8 kB / 348.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.1765, allocations: 111.8 kB / 348.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.1783, allocations: 1.644 MB / 350 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.1787, allocations: 59.42 kB / 350 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.1787, allocations: 20 kB / 350 MB, free: 12.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0002509/0.179, allocations: 173.7 kB / 350.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.1791, allocations: 27.7 kB / 350.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.1802, allocations: 0.5552 MB / 350.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.1802, allocations: 7.938 kB / 350.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1802, allocations: 0 / 350.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.1802, allocations: 7.984 kB / 350.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.1821, allocations: 1.177 MB / 352 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1821, allocations: 0 / 352 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.1825, allocations: 83.89 kB / 352.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.1828, allocations: 80.86 kB / 352.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.1829, allocations: 15.98 kB / 352.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.1845, allocations: 1.632 MB / 353.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.1845, allocations: 3.938 kB / 353.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.186, allocations: 0.8179 MB / 354.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/0.1861, allocations: 112.7 kB / 354.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.1862, allocations: 8 kB / 354.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.1865, allocations: 32.03 kB / 354.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1866, allocations: 36.33 kB / 354.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.1866, allocations: 16 kB / 354.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.1868, allocations: 148.1 kB / 355 MB, free: 7.066 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1868, allocations: 0 / 355 MB, free: 7.066 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006968/0.1875, allocations: 151.5 kB / 355.1 MB, free: 6.918 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 (46): * Single equations (assignments): 45 * 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.0002675/0.1878, allocations: 143.2 kB / 355.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.189, allocations: 0.597 MB / 355.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.189, allocations: 0 / 355.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006388/0.1897, allocations: 390.1 kB / 356.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1901, allocations: 35.92 kB / 356.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1921, allocations: 1.076 MB / 357.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.1927, allocations: 0.8175 MB / 358.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.1929, allocations: 55.27 kB / 358.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.193, allocations: 35.42 kB / 358.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.193, allocations: 0 / 358.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of Templates: time 0.01002/0.2031, allocations: 4.177 MB / 362.4 MB, free: 15.51 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches