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.0008628/0.0008628, allocations: 93.39 kB / 17.3 MB, free: 6.391 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.000835/0.000835, allocations: 173.3 kB / 18.2 MB, free: 5.551 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.312/1.312, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004452/0.0004453, allocations: 12 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09237, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003893/0.0963, allocations: 3.676 MB / 332.6 MB, free: 60 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.0988, allocations: 1.617 MB / 334.3 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.09901, allocations: 8 kB / 334.3 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.09946, allocations: 191.2 kB / 334.5 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.1007, allocations: 0.5252 MB / 335 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1017, allocations: 0.5064 MB / 335.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007004/0.1024, allocations: 0.5446 MB / 336 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.1039, allocations: 0.8187 MB / 336.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1042, allocations: 215 kB / 337.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.1045, allocations: 286.6 kB / 337.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.1046, allocations: 24 kB / 337.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.1051, allocations: 211.8 kB / 337.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.1052, allocations: 91.55 kB / 337.7 MB, free: 11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.1054, allocations: 288.2 kB / 337.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008977/0.1063, allocations: 0.806 MB / 338.7 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1063, allocations: 0 / 338.7 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1063, allocations: 0 / 338.7 MB, free: 9.902 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1064, allocations: 0 / 338.7 MB, free: 9.902 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.002439/0.1088, allocations: 0.9213 MB / 339.7 MB, free: 8.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1088, allocations: 8.031 kB / 339.7 MB, free: 8.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00435/0.1132, allocations: 0.609 MB / 340.3 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000825/0.1141, allocations: 381.3 kB / 340.7 MB, free: 7.902 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.1141, allocations: 54.38 kB / 340.7 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1143, allocations: 68.28 kB / 340.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.116, allocations: 0.8132 MB / 341.6 MB, free: 6.957 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.116, allocations: 4 kB / 341.6 MB, free: 6.953 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.1161, allocations: 28 kB / 341.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.1161, allocations: 29.98 kB / 341.7 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.1176, allocations: 0.8433 MB / 342.5 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00392/0.1216, allocations: 2.731 MB / 345.2 MB, free: 3.145 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.1235, allocations: 1.969 MB / 347.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.124, allocations: 254.1 kB / 347.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.155e-05/0.1241, allocations: 97.52 kB / 347.5 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1242, allocations: 39 kB / 347.6 MB, free: 440 kB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.004e-06/0.1242, allocations: 0 / 347.6 MB, free: 440 kB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001876/0.126, allocations: 0.848 MB / 348.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.1261, allocations: 59.78 kB / 348.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1264, allocations: 308.4 kB / 348.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.1265, allocations: 33.7 kB / 348.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.1267, allocations: 291.6 kB / 349.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.1268, allocations: 165.7 kB / 349.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.175e-05/0.1269, allocations: 49.7 kB / 349.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.127, allocations: 346.8 kB / 349.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.1274, allocations: 205.2 kB / 349.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.128, allocations: 398.3 kB / 350.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009894/0.129, allocations: 0.6311 MB / 350.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.129, allocations: 0 / 350.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00133/0.1304, allocations: 0.7201 MB / 351.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.1305, allocations: 263.5 kB / 351.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.1306, allocations: 11.94 kB / 351.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.1308, allocations: 56.81 kB / 351.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/0.1314, allocations: 143.7 kB / 352.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.133, allocations: 1.6 MB / 353.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.1334, allocations: 75.22 kB / 353.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.1334, allocations: 31.98 kB / 353.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.1334, allocations: 4 kB / 353.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001156/0.1346, allocations: 0.6524 MB / 354.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1346, allocations: 8 kB / 354.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.1348, allocations: 56.83 kB / 354.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.1353, allocations: 135.8 kB / 354.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.1366, allocations: 1.512 MB / 356.1 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.1369, allocations: 71.42 kB / 356.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.137, allocations: 28 kB / 356.2 MB, free: 7.16 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.0002715/0.1372, allocations: 264.9 kB / 356.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.1373, allocations: 39.53 kB / 356.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.1386, allocations: 0.6181 MB / 357.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.1386, allocations: 7.984 kB / 357.1 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1386, allocations: 0 / 357.1 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1386, allocations: 0 / 357.1 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.1406, allocations: 1.316 MB / 358.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1406, allocations: 0 / 358.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.141, allocations: 95.88 kB / 358.6 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.1412, allocations: 52.77 kB / 358.6 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.1412, allocations: 12 kB / 358.6 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.1425, allocations: 1.588 MB / 360.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1425, allocations: 0 / 360.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.1441, allocations: 0.9326 MB / 361.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.1443, allocations: 156.6 kB / 361.3 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.1444, allocations: 8 kB / 361.3 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.1447, allocations: 23.98 kB / 361.3 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.1448, allocations: 40.31 kB / 361.4 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.1448, allocations: 16 kB / 361.4 MB, free: 1.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.145, allocations: 219.1 kB / 361.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.145, allocations: 0 / 361.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009467/0.146, allocations: 275.1 kB / 361.9 MB, free: 1.266 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 (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.0002069/0.1462, allocations: 139.1 kB / 362 MB, free: 1.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.1482, allocations: 1.128 MB / 363.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1482, allocations: 0 / 363.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000609/0.1488, allocations: 397.7 kB / 363.5 MB, free: 15.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.1492, allocations: 48.73 kB / 363.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.1511, allocations: 1.298 MB / 364.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1515, allocations: 0.8408 MB / 365.7 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001377/0.1528, allocations: 1.099 MB / 366.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.153, allocations: 55.41 kB / 366.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.153, allocations: 3.938 kB / 366.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of Templates: time 0.01021/0.1632, allocations: 5.338 MB / 372.2 MB, free: 6.836 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