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.001245/0.001245, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.0012/0.001201, allocations: 191.9 kB / 18.51 MB, free: 4.504 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.297/1.297, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001296/0.001297, allocations: 55.86 kB / 280.7 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08645/0.08776, allocations: 46.63 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005054/0.09285, allocations: 3.734 MB / 331 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.09607, allocations: 1.469 MB / 332.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.09632, allocations: 12 kB / 332.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.09847, allocations: 0.7584 MB / 333.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.09994, allocations: 0.5714 MB / 333.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.101, allocations: 410.6 kB / 334.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006046/0.1016, allocations: 485.9 kB / 334.7 MB, free: 13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007806/0.1024, allocations: 394.1 kB / 335.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003593/0.1027, allocations: 219.1 kB / 335.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.1032, allocations: 282.8 kB / 335.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.752e-05/0.1033, allocations: 44 kB / 335.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.1038, allocations: 207.8 kB / 335.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1039, allocations: 111.6 kB / 335.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.1042, allocations: 254.7 kB / 336.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009731/0.1052, allocations: 0.6853 MB / 336.9 MB, free: 10.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1052, allocations: 0 / 336.9 MB, free: 10.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1052, allocations: 4 kB / 336.9 MB, free: 10.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1052, allocations: 0 / 336.9 MB, free: 10.83 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.003008/0.1083, allocations: 0.9286 MB / 337.8 MB, free: 9.852 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.1083, allocations: 12.03 kB / 337.8 MB, free: 9.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00654/0.1149, allocations: 0.5857 MB / 338.4 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1153, allocations: 311.7 kB / 338.7 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.1154, allocations: 53.56 kB / 338.8 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.1155, allocations: 64.27 kB / 338.8 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009847/0.1165, allocations: 0.5531 MB / 339.4 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1165, allocations: 0 / 339.4 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.1166, allocations: 28 kB / 339.4 MB, free: 8.211 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.1166, allocations: 16 kB / 339.4 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1177, allocations: 0.6337 MB / 340 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/0.1206, allocations: 2.05 MB / 342.1 MB, free: 5.371 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.123, allocations: 3.008 MB / 345.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.1234, allocations: 222.1 kB / 345.3 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.298e-05/0.1235, allocations: 89.53 kB / 345.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1235, allocations: 46.92 kB / 345.5 MB, free: 1.418 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.415e-06/0.1235, allocations: 0 / 345.5 MB, free: 1.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001855/0.1254, allocations: 0.7971 MB / 346.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1254, allocations: 55.84 kB / 346.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1256, allocations: 201.1 kB / 346.5 MB, free: 328 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.1257, allocations: 29.7 kB / 346.5 MB, free: 292 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1258, allocations: 244 kB / 346.8 MB, free: 44 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.1259, allocations: 165.8 kB / 346.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.1261, allocations: 94.16 kB / 347 MB, free: 15.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1262, allocations: 338.8 kB / 347.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.1265, allocations: 161 kB / 347.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.1269, allocations: 277.9 kB / 347.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.1276, allocations: 460.5 kB / 348.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1276, allocations: 4 kB / 348.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001062/0.1287, allocations: 0.5826 MB / 348.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1287, allocations: 11.94 kB / 348.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1287, allocations: 4 kB / 348.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.1291, allocations: 84.81 kB / 348.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.1295, allocations: 111.8 kB / 349 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.1316, allocations: 2.049 MB / 351.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.1319, allocations: 55.5 kB / 351.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.132, allocations: 20 kB / 351.2 MB, free: 11.41 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.0001995/0.1322, allocations: 177.6 kB / 351.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1322, allocations: 23.72 kB / 351.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.1333, allocations: 0.555 MB / 351.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1333, allocations: 8 kB / 351.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1333, allocations: 4 kB / 351.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1334, allocations: 0 / 351.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.1355, allocations: 1.149 MB / 353.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1356, allocations: 0 / 353.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.1359, allocations: 71.91 kB / 353.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.1362, allocations: 100.7 kB / 353.2 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.1362, allocations: 4 kB / 353.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.1383, allocations: 2.042 MB / 355.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1383, allocations: 4.031 kB / 355.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1396, allocations: 0.8036 MB / 356.1 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.1397, allocations: 104.8 kB / 356.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.1398, allocations: 11.98 kB / 356.2 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.14, allocations: 16 kB / 356.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.1401, allocations: 36.38 kB / 356.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.1401, allocations: 16 kB / 356.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1403, allocations: 150.9 kB / 356.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1403, allocations: 0 / 356.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005717/0.1408, allocations: 163.6 kB / 356.6 MB, free: 5.723 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.0002341/0.1411, allocations: 139.1 kB / 356.7 MB, free: 5.574 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.1424, allocations: 0.6056 MB / 357.3 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1424, allocations: 0 / 357.3 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.1431, allocations: 389 kB / 357.7 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.1435, allocations: 36 kB / 357.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.1449, allocations: 0.8568 MB / 358.6 MB, free: 3.641 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1453, allocations: 0.8132 MB / 359.4 MB, free: 2.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.1455, allocations: 59.25 kB / 359.5 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.1456, allocations: 31.44 kB / 359.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1456, allocations: 0 / 359.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of Templates: time 0.009054/0.1547, allocations: 4.426 MB / 363.9 MB, free: 14.29 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches