Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 104.5 kB / 18.35 MB, free: 4.645 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.001165/0.001165, allocations: 191 kB / 19.29 MB, free: 3.715 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.393/1.393, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001212/0.001212, allocations: 55.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07989/0.08111, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.00568/0.08683, allocations: 4.096 MB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003141/0.09, allocations: 1.64 MB / 334.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004709/0.09053, allocations: 12 kB / 334.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.09251, allocations: 0.7816 MB / 335.3 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.09405, allocations: 0.583 MB / 335.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.09526, allocations: 0.5372 MB / 336.4 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009452/0.09621, allocations: 0.5953 MB / 337 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009535/0.09718, allocations: 0.4922 MB / 337.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005228/0.09771, allocations: 263 kB / 337.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.0982, allocations: 330.5 kB / 338 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.09834, allocations: 56 kB / 338.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.09891, allocations: 247.8 kB / 338.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.09906, allocations: 131.5 kB / 338.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.0994, allocations: 306.4 kB / 338.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1004, allocations: 0.8372 MB / 339.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1005, allocations: 0 / 339.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1005, allocations: 0 / 339.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.1005, allocations: 4 kB / 339.6 MB, free: 8.812 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002509/0.103, allocations: 1.015 MB / 340.6 MB, free: 7.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1031, allocations: 12.03 kB / 340.6 MB, free: 7.738 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00438/0.1075, allocations: 0.609 MB / 341.2 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.1082, allocations: 377.4 kB / 341.6 MB, free: 6.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.1082, allocations: 50.38 kB / 341.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.1084, allocations: 72.28 kB / 341.7 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.1097, allocations: 0.7352 MB / 342.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.1097, allocations: 0 / 342.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.1098, allocations: 28 kB / 342.5 MB, free: 5.824 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.1098, allocations: 16 kB / 342.5 MB, free: 5.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.1112, allocations: 0.7183 MB / 343.2 MB, free: 5.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.115, allocations: 2.522 MB / 345.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.117, allocations: 1.948 MB / 347.7 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.1174, allocations: 218.4 kB / 347.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.29e-05/0.1175, allocations: 93.47 kB / 348 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.1176, allocations: 42.98 kB / 348 MB, free: 15.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/0.1176, allocations: 0 / 348 MB, free: 15.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.001736/0.1193, allocations: 0.7113 MB / 348.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1194, allocations: 59.78 kB / 348.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.1197, allocations: 316.4 kB / 349.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.1198, allocations: 29.7 kB / 349.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1199, allocations: 283.7 kB / 349.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.1201, allocations: 165.6 kB / 349.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.1202, allocations: 110.2 kB / 349.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1204, allocations: 350.8 kB / 350 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.1207, allocations: 171.4 kB / 350.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.1212, allocations: 353.1 kB / 350.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/0.1221, allocations: 0.5378 MB / 351.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1221, allocations: 0 / 351.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001226/0.1234, allocations: 0.6254 MB / 351.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1234, allocations: 12.03 kB / 351.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.1234, allocations: 15.98 kB / 351.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002558/0.1237, allocations: 52.83 kB / 351.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.1242, allocations: 127.8 kB / 351.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.1259, allocations: 1.775 MB / 353.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.1263, allocations: 75.33 kB / 353.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.1264, allocations: 31.98 kB / 353.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004559/0.1269, allocations: 289.4 kB / 354.1 MB, free: 9.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004412/0.1273, allocations: 341.2 kB / 354.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008244/0.1281, allocations: 0.5339 MB / 355 MB, free: 8.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.491e-06/0.1282, allocations: 4 kB / 355 MB, free: 8.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.00117/0.1293, allocations: 0.6094 MB / 355.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1294, allocations: 8 kB / 355.6 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1294, allocations: 4 kB / 355.6 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.1296, allocations: 73.25 kB / 355.7 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.13, allocations: 123.8 kB / 355.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.1316, allocations: 1.779 MB / 357.6 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.132, allocations: 51.52 kB / 357.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.132, allocations: 31.94 kB / 357.6 MB, free: 5.441 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (69): * Single equations (assignments): 68 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.1322, allocations: 220.1 kB / 357.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.1323, allocations: 31.62 kB / 357.9 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.1334, allocations: 0.5283 MB / 358.4 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.1334, allocations: 4 kB / 358.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1334, allocations: 4 kB / 358.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1335, allocations: 3.984 kB / 358.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.1353, allocations: 1.143 MB / 359.6 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1353, allocations: 4 kB / 359.6 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.1357, allocations: 87.83 kB / 359.7 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/0.1359, allocations: 44.83 kB / 359.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.1359, allocations: 15.98 kB / 359.7 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.1374, allocations: 1.767 MB / 361.5 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1374, allocations: 0 / 361.5 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.1387, allocations: 0.7774 MB / 362.3 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.1389, allocations: 160.5 kB / 362.4 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.139, allocations: 11.94 kB / 362.4 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.1393, allocations: 19.98 kB / 362.4 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.1394, allocations: 32.39 kB / 362.5 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.1394, allocations: 16 kB / 362.5 MB, free: 336 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.1396, allocations: 211.1 kB / 362.7 MB, free: 128 kB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1396, allocations: 4 kB / 362.7 MB, free: 124 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009767/0.1406, allocations: 267.2 kB / 363 MB, free: 15.86 MB / 318.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 (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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.1408, allocations: 135.1 kB / 363.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.1426, allocations: 0.9864 MB / 364.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1426, allocations: 0 / 364.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.1432, allocations: 358.4 kB / 364.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1436, allocations: 44.64 kB / 364.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1454, allocations: 0.959 MB / 365.4 MB, free: 13.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.1458, allocations: 0.8408 MB / 366.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.1461, allocations: 84.14 kB / 366.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1463, allocations: 43.42 kB / 366.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1463, allocations: 0 / 366.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of Templates: time 0.01022/0.1565, allocations: 5.088 MB / 371.5 MB, free: 7.227 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches