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.00132/0.00132, allocations: 99.39 kB / 18.35 MB, free: 4.648 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.001468/0.001468, allocations: 192 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.369/1.369, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001438/0.001438, allocations: 59.91 kB / 282.1 MB, free: 2.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.08825, allocations: 46.62 MB / 328.7 MB, free: 3.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005538/0.09383, allocations: 4.1 MB / 332.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.09681, allocations: 1.644 MB / 334.5 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/0.09725, allocations: 12 kB / 334.5 MB, free: 14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.0992, allocations: 0.7777 MB / 335.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.1006, allocations: 0.5791 MB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.1018, allocations: 0.5334 MB / 336.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008218/0.1026, allocations: 0.5914 MB / 337 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008297/0.1034, allocations: 0.5 MB / 337.5 MB, free: 11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.1038, allocations: 258.9 kB / 337.7 MB, free: 10.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004755/0.1043, allocations: 338.6 kB / 338 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.1044, allocations: 56 kB / 338.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004951/0.1049, allocations: 239.8 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1051, allocations: 139.5 kB / 338.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.1054, allocations: 298.5 kB / 338.8 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009414/0.1063, allocations: 0.841 MB / 339.6 MB, free: 8.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1064, allocations: 0 / 339.6 MB, free: 8.848 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1064, allocations: 0 / 339.6 MB, free: 8.848 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.1064, allocations: 0 / 339.6 MB, free: 8.848 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.002281/0.1087, allocations: 1.015 MB / 340.6 MB, free: 7.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1087, allocations: 12.03 kB / 340.6 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.1131, allocations: 0.6051 MB / 341.2 MB, free: 7.168 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.1137, allocations: 377.4 kB / 341.6 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.1138, allocations: 54.38 kB / 341.7 MB, free: 6.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1139, allocations: 68.28 kB / 341.7 MB, free: 6.641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.1152, allocations: 0.7352 MB / 342.5 MB, free: 5.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.1152, allocations: 11.88 kB / 342.5 MB, free: 5.879 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.1153, allocations: 28 kB / 342.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.1153, allocations: 16 kB / 342.5 MB, free: 5.836 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.1167, allocations: 0.7144 MB / 343.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/0.1203, allocations: 2.518 MB / 345.7 MB, free: 2.422 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.1224, allocations: 1.96 MB / 347.7 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.1228, allocations: 210.1 kB / 347.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.123, allocations: 97.84 kB / 348 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.123, allocations: 39 kB / 348 MB, free: 15.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 2.555e-06/0.1231, allocations: 0 / 348 MB, free: 15.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.00179/0.1248, allocations: 0.7074 MB / 348.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1249, allocations: 59.78 kB / 348.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.1253, allocations: 312.4 kB / 349.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.1254, allocations: 37.7 kB / 349.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.1256, allocations: 291.6 kB / 349.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.1257, allocations: 161.7 kB / 349.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.1259, allocations: 106.2 kB / 349.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002729/0.1262, allocations: 346.8 kB / 350 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.1266, allocations: 175.4 kB / 350.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.1271, allocations: 349.1 kB / 350.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/0.128, allocations: 0.5494 MB / 351.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.128, allocations: 0 / 351.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001321/0.1293, allocations: 0.625 MB / 351.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.1293, allocations: 8 kB / 351.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.1294, allocations: 8 kB / 351.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.1296, allocations: 61.33 kB / 351.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.1303, allocations: 127.8 kB / 351.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.1323, allocations: 1.779 MB / 353.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.133, allocations: 71.28 kB / 353.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.133, allocations: 27.98 kB / 353.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007668/0.1338, allocations: 289.4 kB / 354.1 MB, free: 9.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006715/0.1345, allocations: 345.2 kB / 354.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001151/0.1357, allocations: 0.53 MB / 355 MB, free: 8.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.533e-06/0.1357, allocations: 0 / 355 MB, free: 8.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001733/0.1374, allocations: 0.6251 MB / 355.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1375, allocations: 8 kB / 355.6 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1375, allocations: 4 kB / 355.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.1377, allocations: 56.83 kB / 355.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.1385, allocations: 124.2 kB / 355.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.1407, allocations: 1.787 MB / 357.6 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.1413, allocations: 51.52 kB / 357.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.1413, allocations: 27.94 kB / 357.6 MB, free: 5.473 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.000282/0.1416, allocations: 224 kB / 357.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.1418, allocations: 35.61 kB / 357.9 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.1435, allocations: 0.5283 MB / 358.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1435, allocations: 8 kB / 358.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1435, allocations: 0 / 358.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.1435, allocations: 4 kB / 358.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.1463, allocations: 1.139 MB / 359.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1463, allocations: 0 / 359.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.1469, allocations: 87.88 kB / 359.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/0.1472, allocations: 52.83 kB / 359.7 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.1472, allocations: 12 kB / 359.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.1494, allocations: 1.767 MB / 361.5 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1494, allocations: 3.938 kB / 361.5 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.1516, allocations: 0.7774 MB / 362.3 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.1519, allocations: 152.5 kB / 362.4 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.152, allocations: 15.94 kB / 362.4 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.1525, allocations: 24.05 kB / 362.4 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.1526, allocations: 32.39 kB / 362.5 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.1527, allocations: 8 kB / 362.5 MB, free: 368 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003638/0.153, allocations: 219.1 kB / 362.7 MB, free: 152 kB / 302.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1531, allocations: 0 / 362.7 MB, free: 152 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.001803/0.1549, allocations: 271.1 kB / 363 MB, free: 15.88 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.0003168/0.1552, allocations: 131.1 kB / 363.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003207/0.1584, allocations: 0.9871 MB / 364.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1585, allocations: 0 / 364.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.1595, allocations: 357 kB / 364.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.1602, allocations: 42.19 kB / 364.5 MB, free: 14.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.163, allocations: 0.9629 MB / 365.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.1636, allocations: 0.833 MB / 366.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007002/0.1643, allocations: 88.14 kB / 366.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.1645, allocations: 43.36 kB / 366.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1646, allocations: 0 / 366.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of Templates: time 0.01824/0.1828, allocations: 5.08 MB / 371.5 MB, free: 7.27 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 cvode -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