Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.001037/0.001037, 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.316/1.316, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001186/0.001186, allocations: 43.94 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.09069, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004776/0.09552, allocations: 3.76 MB / 330.4 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.09789, allocations: 1.461 MB / 331.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.09812, allocations: 11.94 kB / 331.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.09969, allocations: 0.7084 MB / 332.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1007, allocations: 0.5252 MB / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008273/0.1016, allocations: 406.8 kB / 333.5 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.102, allocations: 462 kB / 333.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/0.1026, allocations: 360.8 kB / 334.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.1028, allocations: 203.1 kB / 334.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.1031, allocations: 274.9 kB / 334.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.1032, allocations: 32 kB / 334.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.1036, allocations: 199.8 kB / 335 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.1037, allocations: 99.59 kB / 335.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.1039, allocations: 234.7 kB / 335.3 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.1046, allocations: 0.6814 MB / 336 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1046, allocations: 4 kB / 336 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1046, allocations: 0 / 336 MB, free: 11.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1046, allocations: 3.938 kB / 336 MB, free: 11.46 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.002497/0.1071, allocations: 0.9209 MB / 336.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1072, allocations: 12.03 kB / 336.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/0.1114, allocations: 0.5818 MB / 337.5 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.1119, allocations: 319.6 kB / 337.8 MB, free: 9.547 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.1119, allocations: 45.69 kB / 337.8 MB, free: 9.504 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.783e-05/0.112, allocations: 60.28 kB / 337.9 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/0.113, allocations: 0.5609 MB / 338.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1131, allocations: 0 / 338.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.1131, allocations: 20 kB / 338.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1132, allocations: 16 kB / 338.5 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.1143, allocations: 0.6336 MB / 339.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.1173, allocations: 2.05 MB / 341.2 MB, free: 6.023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.1201, allocations: 3.017 MB / 344.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.1205, allocations: 226 kB / 344.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.1206, allocations: 89.53 kB / 344.5 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1206, allocations: 35 kB / 344.5 MB, free: 2.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 1.543e-06/0.1206, allocations: 0 / 344.5 MB, free: 2.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001986/0.1226, allocations: 0.8087 MB / 345.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1227, allocations: 55.84 kB / 345.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.1229, allocations: 196.5 kB / 345.6 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.1229, allocations: 33.7 kB / 345.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.1231, allocations: 244 kB / 345.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1232, allocations: 169.6 kB / 346 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1234, allocations: 98.14 kB / 346.1 MB, free: 424 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1235, allocations: 338.8 kB / 346.5 MB, free: 76 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.1238, allocations: 157.1 kB / 346.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.1242, allocations: 266 kB / 346.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006776/0.1249, allocations: 472.5 kB / 347.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1249, allocations: 0 / 347.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0011/0.126, allocations: 0.5861 MB / 347.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.126, allocations: 11.94 kB / 347.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.1261, allocations: 0 / 347.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003691/0.1264, allocations: 105 kB / 348 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.1268, allocations: 95.89 kB / 348.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.1288, allocations: 1.839 MB / 350 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.1291, allocations: 63.36 kB / 350 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.1291, allocations: 24.06 kB / 350.1 MB, free: 12.25 MB / 302.1 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 (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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002273/0.1293, allocations: 173.6 kB / 350.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.1294, allocations: 23.91 kB / 350.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.1305, allocations: 0.5511 MB / 350.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1305, allocations: 11.94 kB / 350.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1305, allocations: 0 / 350.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.1305, allocations: 11.92 kB / 350.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.1323, allocations: 1.138 MB / 352 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1323, allocations: 0 / 352 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.1326, allocations: 79.83 kB / 352 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/0.1329, allocations: 88.8 kB / 352.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.1329, allocations: 8 kB / 352.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.1347, allocations: 1.842 MB / 354 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1347, allocations: 0 / 354 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.136, allocations: 0.8077 MB / 354.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.1361, allocations: 112.7 kB / 354.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.1361, allocations: 15.94 kB / 354.9 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.1364, allocations: 19.98 kB / 354.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.1365, allocations: 32.39 kB / 355 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.1365, allocations: 16 kB / 355 MB, free: 7.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1367, allocations: 148.1 kB / 355.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1367, allocations: 4.062 kB / 355.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006683/0.1373, allocations: 151.5 kB / 355.3 MB, free: 6.773 MB / 302.1 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 (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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002635/0.1376, allocations: 139.2 kB / 355.4 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.1388, allocations: 0.5899 MB / 356 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1388, allocations: 8.25 kB / 356 MB, free: 6.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.1394, allocations: 381 kB / 356.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.1398, allocations: 43.81 kB / 356.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.1416, allocations: 1.067 MB / 357.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.142, allocations: 0.8136 MB / 358.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.1422, allocations: 55.25 kB / 358.4 MB, free: 3.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.143e-05/0.1423, allocations: 31.44 kB / 358.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1423, allocations: 0 / 358.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of Templates: time 0.008487/0.1508, allocations: 4.181 MB / 362.6 MB, free: 15.39 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches