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.001224/0.001224, allocations: 99.88 kB / 16.95 MB, free: 6.387 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.001123/0.001123, allocations: 185.1 kB / 17.84 MB, free: 5.961 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.503/1.503, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004601/0.0004601, allocations: 16.22 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 47.57 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003919/0.1292, allocations: 3.167 MB / 331.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.1314, allocations: 1.357 MB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.1315, allocations: 8 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.1319, allocations: 131.3 kB / 333 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009959/0.1329, allocations: 466.2 kB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.1336, allocations: 351.1 kB / 333.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.1341, allocations: 457.7 kB / 334.3 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.1354, allocations: 0.7036 MB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.1357, allocations: 175.3 kB / 335.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.136, allocations: 243 kB / 335.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.136, allocations: 28 kB / 335.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.1364, allocations: 175.8 kB / 335.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.1364, allocations: 83.61 kB / 335.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.1365, allocations: 105.5 kB / 335.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.1371, allocations: 0.5339 MB / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.1372, allocations: 0 / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1372, allocations: 0 / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1372, allocations: 0 / 336.3 MB, free: 12.08 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.001995/0.1392, allocations: 0.8427 MB / 337.1 MB, free: 11.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1392, allocations: 8.031 kB / 337.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/0.1431, allocations: 0.5925 MB / 337.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.1435, allocations: 326.3 kB / 338 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.1436, allocations: 37.31 kB / 338.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.1437, allocations: 63.91 kB / 338.1 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1447, allocations: 0.5609 MB / 338.7 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1447, allocations: 0 / 338.7 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.1448, allocations: 35.92 kB / 338.7 MB, free: 9.527 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.1448, allocations: 12 kB / 338.7 MB, free: 9.516 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1459, allocations: 0.6454 MB / 339.4 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.1489, allocations: 2.056 MB / 341.4 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.1515, allocations: 2.999 MB / 344.4 MB, free: 3.125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.152, allocations: 270.1 kB / 344.7 MB, free: 2.859 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.529e-05/0.1521, allocations: 89.53 kB / 344.8 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1521, allocations: 43 kB / 344.8 MB, free: 2.699 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.083e-06/0.1522, allocations: 7.938 kB / 344.8 MB, free: 2.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001649/0.1538, allocations: 0.7583 MB / 345.6 MB, free: 1.906 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.1539, allocations: 63.78 kB / 345.7 MB, free: 1.832 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1541, allocations: 201 kB / 345.9 MB, free: 1.629 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.1542, allocations: 33.7 kB / 345.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.1544, allocations: 236.1 kB / 346.1 MB, free: 1.355 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.1545, allocations: 169.5 kB / 346.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.1546, allocations: 8 kB / 346.3 MB, free: 1.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1547, allocations: 342.8 kB / 346.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.1551, allocations: 165 kB / 346.8 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.1554, allocations: 291.6 kB / 347.1 MB, free: 348 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.1558, allocations: 204.7 kB / 347.3 MB, free: 140 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1558, allocations: 0 / 347.3 MB, free: 140 kB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001034/0.1568, allocations: 0.5866 MB / 347.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.1569, allocations: 8 kB / 347.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1569, allocations: 0 / 347.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.1573, allocations: 88.73 kB / 348 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.1577, allocations: 111.9 kB / 348.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.1594, allocations: 1.648 MB / 349.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.1598, allocations: 55.38 kB / 349.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.1598, allocations: 35.97 kB / 349.8 MB, free: 13.47 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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.1601, allocations: 169.7 kB / 350 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.1601, allocations: 31.78 kB / 350 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.1613, allocations: 0.5512 MB / 350.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.1613, allocations: 8 kB / 350.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1613, allocations: 0 / 350.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1614, allocations: 3.984 kB / 350.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.1633, allocations: 1.181 MB / 351.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.1633, allocations: 11.98 kB / 351.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.1636, allocations: 83.84 kB / 351.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.1639, allocations: 80.86 kB / 351.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.1639, allocations: 12 kB / 351.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.1657, allocations: 1.64 MB / 353.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1657, allocations: 4.031 kB / 353.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.167, allocations: 0.8297 MB / 354.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.1671, allocations: 104.7 kB / 354.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.1672, allocations: 12 kB / 354.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.1674, allocations: 23.98 kB / 354.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1675, allocations: 48.25 kB / 354.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.1676, allocations: 15.94 kB / 354.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1677, allocations: 152.1 kB / 354.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1677, allocations: 4.062 kB / 354.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006218/0.1683, allocations: 147.6 kB / 354.9 MB, free: 8.109 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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003053/0.1687, allocations: 135.1 kB / 355 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.1698, allocations: 0.5971 MB / 355.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.1699, allocations: 0 / 355.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.1705, allocations: 394 kB / 356 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.171, allocations: 40.09 kB / 356.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.1728, allocations: 1.079 MB / 357.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.1733, allocations: 0.8136 MB / 358 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.1735, allocations: 55.25 kB / 358 MB, free: 4.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.434e-05/0.1736, allocations: 35.44 kB / 358 MB, free: 4.883 MB / 302.1 MB Notification: Performance of SimCode: time 2.685e-06/0.1736, allocations: 0 / 358 MB, free: 4.883 MB / 302.1 MB Notification: Performance of Templates: time 0.008925/0.1826, allocations: 4.01 MB / 362.1 MB, free: 0.875 MB / 302.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