Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.851/0.851, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.037e-06/1.011e-05, allocations: 5.969 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.00315/0.00316, allocations: 3.865 MB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.00496, allocations: 1.631 MB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.005098, allocations: 11.94 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009271/0.006025, allocations: 0.8164 MB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.006524, allocations: 373.8 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.007164, allocations: 0.6614 MB / 280.8 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.007555, allocations: 0.5407 MB / 281.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.007986, allocations: 478 kB / 281.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.008267, allocations: 355.1 kB / 282.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.008446, allocations: 223.4 kB / 282.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.008489, allocations: 51.94 kB / 282.4 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.008738, allocations: 235.7 kB / 282.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.008801, allocations: 131.4 kB / 282.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.008904, allocations: 171.5 kB / 282.9 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.009359, allocations: 0.5683 MB / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.009361, allocations: 0 / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.009361, allocations: 0 / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.009365, allocations: 0 / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001072/0.01044, allocations: 0.8897 MB / 284.4 MB, free: 6.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.51e-05/0.01046, allocations: 8.031 kB / 284.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.01211, allocations: 0.547 MB / 285 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.01234, allocations: 217.6 kB / 285.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.01237, allocations: 49.67 kB / 285.2 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.01242, allocations: 56.38 kB / 285.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.0128, allocations: 417.1 kB / 285.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.01282, allocations: 7.953 kB / 285.7 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.01284, allocations: 20 kB / 285.7 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.01285, allocations: 16 kB / 285.7 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.01311, allocations: 230.2 kB / 285.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.01456, allocations: 1.473 MB / 287.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.01503, allocations: 375.2 kB / 287.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.0151, allocations: 88.78 kB / 287.9 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.01515, allocations: 23.97 kB / 287.9 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.01517, allocations: 34.56 kB / 287.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.653e-06/0.01517, allocations: 0 / 287.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0004802/0.01565, allocations: 318.2 kB / 288.2 MB, free: 2.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.01567, allocations: 59.34 kB / 288.3 MB, free: 2.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.01577, allocations: 192.8 kB / 288.5 MB, free: 1.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.01579, allocations: 33.7 kB / 288.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.01588, allocations: 260.6 kB / 288.8 MB, free: 1.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.01594, allocations: 154.7 kB / 288.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.01602, allocations: 86.11 kB / 289 MB, free: 1.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.01609, allocations: 342.8 kB / 289.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.01616, allocations: 62.77 kB / 289.4 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.01626, allocations: 153.3 kB / 289.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.01646, allocations: 261.7 kB / 289.8 MB, free: 444 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01647, allocations: 4 kB / 289.8 MB, free: 440 kB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002839/0.01675, allocations: 290.8 kB / 290.1 MB, free: 140 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/0.01676, allocations: 4 kB / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.01676, allocations: 4 kB / 290.1 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.01692, allocations: 65 kB / 290.2 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08627/0.1032, allocations: 90.81 kB / 290.3 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006903/0.1039, allocations: 1.432 MB / 291.7 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1041, allocations: 49.09 kB / 291.7 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1041, allocations: 14.14 kB / 291.8 MB, free: 19.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001332/0.1042, allocations: 137.1 kB / 291.9 MB, free: 19.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.439e-05/0.1043, allocations: 163.4 kB / 292 MB, free: 19.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001939/0.1045, allocations: 251.2 kB / 292.3 MB, free: 19.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.1045, allocations: 1.531 kB / 292.3 MB, free: 19.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000303/0.1048, allocations: 290.8 kB / 292.6 MB, free: 19.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.1048, allocations: 6.562 kB / 292.6 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1048, allocations: 5.031 kB / 292.6 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.105, allocations: 55.62 kB / 292.6 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.1051, allocations: 95.48 kB / 292.7 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004939/0.1056, allocations: 1.441 MB / 294.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1057, allocations: 37.36 kB / 294.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1058, allocations: 15.09 kB / 294.2 MB, free: 18.05 MB / 266.7 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 (53): * Single equations (assignments): 52 * 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 8.134e-05/0.1058, allocations: 207.9 kB / 294.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.1059, allocations: 32.55 kB / 294.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.1062, allocations: 290.9 kB / 294.7 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1062, allocations: 4.906 kB / 294.8 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1062, allocations: 1.938 kB / 294.8 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1062, allocations: 2.062 kB / 294.8 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.1068, allocations: 0.5677 MB / 295.3 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1068, allocations: 0 / 295.3 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.107, allocations: 76.59 kB / 295.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001152/0.1071, allocations: 52.19 kB / 295.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1071, allocations: 10.23 kB / 295.5 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004642/0.1076, allocations: 1.44 MB / 296.9 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1076, allocations: 0.5469 kB / 296.9 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.1079, allocations: 419.3 kB / 297.3 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.108, allocations: 38.14 kB / 297.3 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.108, allocations: 11.08 kB / 297.4 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1081, allocations: 12.95 kB / 297.4 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.1081, allocations: 36.72 kB / 297.4 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1082, allocations: 10.09 kB / 297.4 MB, free: 16.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.211e-05/0.1082, allocations: 57.78 kB / 297.5 MB, free: 16.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1082, allocations: 0 / 297.5 MB, free: 16.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005069/0.1087, allocations: 258.1 kB / 297.7 MB, free: 16.12 MB / 266.7 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 (42): * Single equations (assignments): 41 * 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.000149/0.1089, allocations: 124.1 kB / 297.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005446/0.1094, allocations: 0.6216 MB / 298.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1094, allocations: 2.344 kB / 298.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1096, allocations: 252.2 kB / 298.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.1098, allocations: 39.25 kB / 298.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009253/0.1107, allocations: 0.7664 MB / 299.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.488e-05/0.1107, allocations: 123.5 kB / 299.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.1109, allocations: 65.59 kB / 299.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.111, allocations: 100.8 kB / 299.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.111, allocations: 0 / 299.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of Templates: time 0.006986/0.118, allocations: 5.022 MB / 304.8 MB, free: 14.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.478651533834636]