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.001443/0.001443, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001551/0.001551, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9501/0.9501, allocations: 177.1 MB / 205 MB, free: 5.602 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.814e-06/1.814e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.757e-05, allocations: 6.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003864/0.003891, allocations: 3.931 MB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.006187, allocations: 1.584 MB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.006426, allocations: 8 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.007694, allocations: 0.8242 MB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007306/0.008424, allocations: 377.8 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008849/0.009309, allocations: 0.6574 MB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.009946, allocations: 0.5446 MB / 280.9 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006048/0.01055, allocations: 456.1 kB / 281.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.01096, allocations: 355.1 kB / 281.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.01117, allocations: 215.4 kB / 281.9 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.01122, allocations: 48 kB / 281.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.01164, allocations: 239.7 kB / 282.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.01171, allocations: 123.5 kB / 282.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.01183, allocations: 175.5 kB / 282.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.01253, allocations: 0.5683 MB / 283 MB, free: 7.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.01254, allocations: 0 / 283 MB, free: 7.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.01254, allocations: 4 kB / 283 MB, free: 7.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.01255, allocations: 0 / 283 MB, free: 7.414 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.001592/0.01414, allocations: 0.9949 MB / 284 MB, free: 6.383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.01419, allocations: 8.031 kB / 284 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.01569, allocations: 0.5 MB / 284.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.0161, allocations: 292.3 kB / 284.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.01613, allocations: 41.69 kB / 284.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.0162, allocations: 64.36 kB / 284.9 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.01682, allocations: 453.1 kB / 285.4 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.01684, allocations: 3.984 kB / 285.4 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.01687, allocations: 20 kB / 285.4 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.01688, allocations: 16 kB / 285.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.01735, allocations: 335.5 kB / 285.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.01933, allocations: 1.778 MB / 287.5 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/0.02001, allocations: 435.9 kB / 287.9 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.02016, allocations: 119.6 kB / 288.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.475e-05/0.02022, allocations: 23.98 kB / 288.1 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.02025, allocations: 41.39 kB / 288.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 3.006e-06/0.02025, allocations: 0 / 288.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007846/0.02104, allocations: 444.7 kB / 288.6 MB, free: 1.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.02107, allocations: 59.36 kB / 288.6 MB, free: 1.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.02121, allocations: 256.1 kB / 288.9 MB, free: 1.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.02124, allocations: 33.7 kB / 288.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.02136, allocations: 307.7 kB / 289.2 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.986e-05/0.02144, allocations: 158.6 kB / 289.4 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.02154, allocations: 99.78 kB / 289.5 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.02166, allocations: 0.5079 MB / 290 MB, free: 204 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.02178, allocations: 81.64 kB / 290 MB, free: 120 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1171/0.1389, allocations: 224.7 kB / 290.3 MB, free: 20.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.1393, allocations: 336.8 kB / 290.6 MB, free: 20.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1393, allocations: 1.5 kB / 290.6 MB, free: 20.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006464/0.14, allocations: 407.2 kB / 291 MB, free: 20.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.14, allocations: 11.67 kB / 291 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.14, allocations: 4.578 kB / 291 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.1403, allocations: 62.66 kB / 291.1 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.1405, allocations: 95.75 kB / 291.2 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.1416, allocations: 2.14 MB / 293.3 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.1417, allocations: 47.16 kB / 293.3 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.1418, allocations: 22.23 kB / 293.4 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002052/0.142, allocations: 208.4 kB / 293.6 MB, free: 18.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001704/0.1421, allocations: 224.7 kB / 293.8 MB, free: 18.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003097/0.1424, allocations: 341.3 kB / 294.1 MB, free: 17.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.1424, allocations: 1.094 kB / 294.1 MB, free: 17.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005355/0.143, allocations: 397.6 kB / 294.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.143, allocations: 6.469 kB / 294.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.143, allocations: 3.219 kB / 294.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.1432, allocations: 71.27 kB / 294.6 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1434, allocations: 94.52 kB / 294.7 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008211/0.1442, allocations: 2.141 MB / 296.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.1444, allocations: 39.5 kB / 296.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1444, allocations: 20.05 kB / 296.9 MB, free: 15.94 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 0.0001202/0.1445, allocations: 300.4 kB / 297.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.1446, allocations: 35.61 kB / 297.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/0.1451, allocations: 385.4 kB / 297.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1451, allocations: 13 kB / 297.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1451, allocations: 1.672 kB / 297.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1451, allocations: 2.109 kB / 297.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.1462, allocations: 0.8572 MB / 298.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1462, allocations: 0 / 298.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.1464, allocations: 75.25 kB / 298.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001641/0.1466, allocations: 62.64 kB / 298.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.1466, allocations: 12.06 kB / 298.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007936/0.1474, allocations: 2.126 MB / 300.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1474, allocations: 1.5 kB / 300.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/0.148, allocations: 0.5817 MB / 301.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.1481, allocations: 64.56 kB / 301.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.1482, allocations: 17.44 kB / 301.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1483, allocations: 14.55 kB / 301.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.1484, allocations: 32 kB / 301.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1484, allocations: 15.92 kB / 301.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.447e-05/0.1485, allocations: 173.4 kB / 301.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1485, allocations: 0 / 301.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007266/0.1492, allocations: 258.8 kB / 301.9 MB, free: 12.9 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.00023/0.1494, allocations: 141.4 kB / 302 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009405/0.1504, allocations: 0.8152 MB / 302.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1504, allocations: 4.656 kB / 302.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.1506, allocations: 335.4 kB / 303.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1509, allocations: 45.73 kB / 303.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.1522, allocations: 0.7799 MB / 304 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.935e-05/0.1523, allocations: 119 kB / 304.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.1524, allocations: 65.66 kB / 304.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.1525, allocations: 37.94 kB / 304.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1525, allocations: 4 kB / 304.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of Templates: time 0.008251/0.1608, allocations: 4.94 MB / 309.2 MB, free: 11.03 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.7961724381893873]