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.0007538/0.0007538, allocations: 97.19 kB / 17.3 MB, free: 6.109 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.0008547/0.0008547, allocations: 178.5 kB / 18.21 MB, free: 5.41 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.43/1.43, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0005467/0.0005468, allocations: 8 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 47.59 MB / 329 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003819/0.1112, allocations: 3.352 MB / 332.3 MB, free: 376 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.1138, allocations: 1.438 MB / 333.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.114, allocations: 8 kB / 333.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.1145, allocations: 163.2 kB / 333.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.1156, allocations: 0.5175 MB / 334.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000767/0.1164, allocations: 394.9 kB / 334.8 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.1169, allocations: 477.6 kB / 335.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.1182, allocations: 0.7836 MB / 336.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.1185, allocations: 187.2 kB / 336.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.1188, allocations: 254.8 kB / 336.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.1189, allocations: 24 kB / 336.5 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.1193, allocations: 183.8 kB / 336.7 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.1193, allocations: 83.61 kB / 336.8 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.1195, allocations: 240.4 kB / 337 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007248/0.1203, allocations: 0.6814 MB / 337.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1203, allocations: 0 / 337.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1203, allocations: 0 / 337.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1203, allocations: 4 kB / 337.7 MB, free: 10.92 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.001966/0.1223, allocations: 0.839 MB / 338.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1223, allocations: 8.031 kB / 338.6 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/0.1265, allocations: 0.5973 MB / 339.2 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.127, allocations: 315.6 kB / 339.5 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.127, allocations: 41.67 kB / 339.5 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.1271, allocations: 64.36 kB / 339.6 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.1282, allocations: 0.5726 MB / 340.1 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.1282, allocations: 0 / 340.1 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.1283, allocations: 27.94 kB / 340.2 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.1283, allocations: 16 kB / 340.2 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.1294, allocations: 0.6532 MB / 340.8 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.1325, allocations: 2.051 MB / 342.9 MB, free: 5.527 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.135, allocations: 3.005 MB / 345.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.1355, allocations: 286 kB / 346.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-05/0.1356, allocations: 89.53 kB / 346.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1356, allocations: 39 kB / 346.3 MB, free: 1.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.204e-06/0.1356, allocations: 0 / 346.3 MB, free: 1.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001707/0.1373, allocations: 0.766 MB / 347.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1374, allocations: 63.72 kB / 347.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1376, allocations: 209 kB / 347.3 MB, free: 448 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.1376, allocations: 33.7 kB / 347.4 MB, free: 408 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.1378, allocations: 240.1 kB / 347.6 MB, free: 164 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.1379, allocations: 169.6 kB / 347.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.138, allocations: 45.69 kB / 347.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1381, allocations: 338.8 kB / 348.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.1384, allocations: 161 kB / 348.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.1388, allocations: 287.7 kB / 348.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.1396, allocations: 498.2 kB / 349.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1396, allocations: 0 / 349.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001107/0.1407, allocations: 0.5904 MB / 349.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1407, allocations: 12 kB / 349.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.1408, allocations: 4 kB / 349.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003594/0.1411, allocations: 80.81 kB / 349.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.1416, allocations: 115.8 kB / 349.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.1434, allocations: 1.659 MB / 351.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.1437, allocations: 59.58 kB / 351.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.1438, allocations: 24 kB / 351.6 MB, free: 11.89 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.0002406/0.144, allocations: 165.7 kB / 351.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.1441, allocations: 27.62 kB / 351.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.1453, allocations: 0.5707 MB / 352.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.1453, allocations: 7.938 kB / 352.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1453, allocations: 7.938 kB / 352.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1453, allocations: 0 / 352.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.1472, allocations: 1.185 MB / 353.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.1472, allocations: 0 / 353.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.1475, allocations: 87.89 kB / 353.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.1478, allocations: 72.81 kB / 353.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.1478, allocations: 12 kB / 353.7 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.1496, allocations: 1.648 MB / 355.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1496, allocations: 3.938 kB / 355.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.1511, allocations: 0.8297 MB / 356.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.1512, allocations: 112.7 kB / 356.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.1512, allocations: 12 kB / 356.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.1515, allocations: 28.05 kB / 356.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.1515, allocations: 36.33 kB / 356.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.1516, allocations: 16 kB / 356.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1517, allocations: 148.1 kB / 356.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1517, allocations: 0 / 356.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005702/0.1523, allocations: 147.6 kB / 356.7 MB, free: 6.531 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.0002617/0.1526, allocations: 147.2 kB / 356.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.1537, allocations: 0.6015 MB / 357.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1537, allocations: 4.312 kB / 357.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.1543, allocations: 392.9 kB / 357.8 MB, free: 5.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.1548, allocations: 28 kB / 357.9 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1566, allocations: 1.134 MB / 359 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.157, allocations: 0.8214 MB / 359.8 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.1572, allocations: 47.27 kB / 359.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.1573, allocations: 43.42 kB / 359.9 MB, free: 3.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1573, allocations: 0 / 359.9 MB, free: 3.23 MB / 302.1 MB Notification: Performance of Templates: time 0.00886/0.1662, allocations: 4.116 MB / 364 MB, free: 15.11 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