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.001411/0.001411, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001432/0.001432, allocations: 198 kB / 18.07 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.361/1.361, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001275/0.001275, allocations: 51.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0817/0.08299, allocations: 46.64 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005119/0.08815, allocations: 4.104 MB / 330.7 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.09097, allocations: 1.632 MB / 332.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/0.09153, allocations: 12 kB / 332.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.0934, allocations: 0.72 MB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.09478, allocations: 0.5368 MB / 333.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.09582, allocations: 0.5181 MB / 334.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006702/0.09649, allocations: 0.5485 MB / 334.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007273/0.09723, allocations: 450.6 kB / 335.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.09761, allocations: 254.9 kB / 335.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.09794, allocations: 318.7 kB / 335.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.789e-05/0.09802, allocations: 40 kB / 335.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.09848, allocations: 223.8 kB / 335.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.898e-05/0.09859, allocations: 127.4 kB / 336.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.09884, allocations: 282.5 kB / 336.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008674/0.09971, allocations: 0.8255 MB / 337.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09973, allocations: 0 / 337.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.09974, allocations: 0 / 337.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.09975, allocations: 0 / 337.2 MB, free: 10.27 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.002462/0.1022, allocations: 1.042 MB / 338.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1023, allocations: 8.031 kB / 338.2 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.1065, allocations: 0.6051 MB / 338.8 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.1074, allocations: 377.3 kB / 339.2 MB, free: 8.156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.1074, allocations: 50.38 kB / 339.2 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.1076, allocations: 76.22 kB / 339.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.1092, allocations: 0.8055 MB / 340.1 MB, free: 7.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.1092, allocations: 4 kB / 340.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/0.1093, allocations: 32 kB / 340.2 MB, free: 7.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.1094, allocations: 22 kB / 340.2 MB, free: 7.156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1108, allocations: 0.8355 MB / 341 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.1147, allocations: 2.719 MB / 343.7 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.1166, allocations: 1.964 MB / 345.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/0.1171, allocations: 258 kB / 345.9 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-05/0.1172, allocations: 97.47 kB / 346 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1172, allocations: 39 kB / 346.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.355e-06/0.1172, allocations: 0 / 346.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001825/0.1191, allocations: 0.8207 MB / 346.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1191, allocations: 71.78 kB / 347 MB, free: 15.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.1194, allocations: 312.4 kB / 347.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.1195, allocations: 37.64 kB / 347.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.1196, allocations: 292 kB / 347.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.1198, allocations: 161.6 kB / 347.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.12, allocations: 118.2 kB / 347.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1201, allocations: 346.8 kB / 348.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.1205, allocations: 211.4 kB / 348.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.1211, allocations: 386.3 kB / 348.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/0.122, allocations: 0.6155 MB / 349.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1221, allocations: 0 / 349.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001312/0.1234, allocations: 0.7 MB / 350.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1234, allocations: 8.688 kB / 350.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.1234, allocations: 4 kB / 350.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.1237, allocations: 64.83 kB / 350.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.1242, allocations: 135.8 kB / 350.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.1257, allocations: 1.6 MB / 351.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.1261, allocations: 75.27 kB / 352 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.1261, allocations: 31.98 kB / 352 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005362/0.1267, allocations: 329.4 kB / 352.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004801/0.1271, allocations: 390.3 kB / 352.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008586/0.128, allocations: 0.6001 MB / 353.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.29e-06/0.128, allocations: 12.06 kB / 353.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001194/0.1292, allocations: 0.6848 MB / 354 MB, free: 8.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.1293, allocations: 8 kB / 354 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1293, allocations: 7.984 kB / 354 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.1294, allocations: 65.27 kB / 354.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.1299, allocations: 139.8 kB / 354.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.1312, allocations: 1.588 MB / 355.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.1316, allocations: 59.52 kB / 355.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.1317, allocations: 27.98 kB / 355.9 MB, free: 6.156 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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.0001779/0.1319, allocations: 224 kB / 356.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.132, allocations: 39.47 kB / 356.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.1332, allocations: 0.6104 MB / 356.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1332, allocations: 8 kB / 356.8 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1333, allocations: 3.938 kB / 356.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1333, allocations: 0 / 356.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.1352, allocations: 1.289 MB / 358.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1353, allocations: 3.938 kB / 358.1 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.1357, allocations: 99.86 kB / 358.2 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.1359, allocations: 48.77 kB / 358.2 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.1359, allocations: 12 kB / 358.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.1373, allocations: 1.6 MB / 359.8 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1373, allocations: 0 / 359.8 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.1389, allocations: 0.9208 MB / 360.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.139, allocations: 148.6 kB / 360.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.1391, allocations: 8 kB / 360.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.1394, allocations: 19.98 kB / 360.9 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.1395, allocations: 36.38 kB / 361 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.1395, allocations: 20 kB / 361 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.1398, allocations: 215.1 kB / 361.2 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1398, allocations: 0 / 361.2 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000971/0.1407, allocations: 275.2 kB / 361.5 MB, free: 360 kB / 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 (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.0002144/0.141, allocations: 131.2 kB / 361.6 MB, free: 220 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.1429, allocations: 1.102 MB / 362.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1429, allocations: 1.438 kB / 362.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.1435, allocations: 401 kB / 363.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.144, allocations: 44.58 kB / 363.1 MB, free: 14.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1458, allocations: 1.251 MB / 364.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1462, allocations: 0.8408 MB / 365.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001319/0.1475, allocations: 1.091 MB / 366.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.1477, allocations: 43.42 kB / 366.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of SimCode: time 1.813e-06/0.1477, allocations: 0 / 366.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of Templates: time 0.009509/0.1572, allocations: 5.381 MB / 371.7 MB, free: 5.98 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches