Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009417/0.0009417, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000986/0.000986, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9749/0.9749, allocations: 177 MB / 204.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.743e-05/3.944e-05, allocations: 6.312 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005809/0.005848, allocations: 3.934 MB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.008881, allocations: 1.584 MB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.009259, allocations: 11.94 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.01091, allocations: 0.8127 MB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.01195, allocations: 381.7 kB / 279.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.01316, allocations: 0.6469 MB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.01418, allocations: 0.5524 MB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.01519, allocations: 452.1 kB / 281.3 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000541/0.01573, allocations: 351.2 kB / 281.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.01607, allocations: 219.4 kB / 281.8 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/0.01616, allocations: 52 kB / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.01678, allocations: 239.6 kB / 282.1 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.01688, allocations: 123.5 kB / 282.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.01708, allocations: 175.6 kB / 282.4 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009599/0.01804, allocations: 0.5644 MB / 283 MB, free: 7.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.01804, allocations: 0 / 283 MB, free: 7.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01804, allocations: 4 kB / 283 MB, free: 7.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.01806, allocations: 0 / 283 MB, free: 7.375 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.001957/0.02002, allocations: 0.995 MB / 284 MB, free: 6.344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.02007, allocations: 15.92 kB / 284 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.02242, allocations: 0.5038 MB / 284.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.02295, allocations: 284.4 kB / 284.8 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.023, allocations: 45.69 kB / 284.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/0.02309, allocations: 60.38 kB / 284.9 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008769/0.02397, allocations: 457.1 kB / 285.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.02399, allocations: 4 kB / 285.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.02407, allocations: 20 kB / 285.3 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.02409, allocations: 16 kB / 285.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.02476, allocations: 335.6 kB / 285.7 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.02749, allocations: 1.774 MB / 287.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.02821, allocations: 443.9 kB / 287.9 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.02835, allocations: 111.6 kB / 288 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.02855, allocations: 31.91 kB / 288 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.02857, allocations: 41.39 kB / 288.1 MB, free: 2.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.004e-06/0.02858, allocations: 0 / 288.1 MB, free: 2.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007908/0.02937, allocations: 441.9 kB / 288.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.0294, allocations: 59.36 kB / 288.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.02955, allocations: 259.1 kB / 288.8 MB, free: 1.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.02958, allocations: 37.7 kB / 288.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.02969, allocations: 307.4 kB / 289.1 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.02977, allocations: 163 kB / 289.3 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.02987, allocations: 91.8 kB / 289.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.02999, allocations: 0.5079 MB / 289.9 MB, free: 156 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.03011, allocations: 89.61 kB / 290 MB, free: 64 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09846/0.1286, allocations: 223 kB / 290.2 MB, free: 20.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.1289, allocations: 334.8 kB / 290.5 MB, free: 19.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1289, allocations: 1.688 kB / 290.5 MB, free: 19.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005753/0.1295, allocations: 408.7 kB / 290.9 MB, free: 19.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1295, allocations: 10.44 kB / 290.9 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1295, allocations: 3.531 kB / 290.9 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.1298, allocations: 62.09 kB / 291 MB, free: 19.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.13, allocations: 98.73 kB / 291.1 MB, free: 19.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000929/0.1309, allocations: 2.135 MB / 293.2 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.1311, allocations: 46.86 kB / 293.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.1311, allocations: 20.84 kB / 293.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002159/0.1314, allocations: 209.2 kB / 293.5 MB, free: 17.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001779/0.1315, allocations: 225.3 kB / 293.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003151/0.1318, allocations: 337.6 kB / 294.1 MB, free: 17.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.1318, allocations: 0 / 294.1 MB, free: 17.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004699/0.1323, allocations: 404.8 kB / 294.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.1323, allocations: 6.344 kB / 294.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1323, allocations: 3.344 kB / 294.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.1325, allocations: 64.8 kB / 294.5 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1327, allocations: 94.59 kB / 294.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007012/0.1334, allocations: 2.14 MB / 296.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.1335, allocations: 41.23 kB / 296.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.1335, allocations: 21.45 kB / 296.8 MB, free: 15.5 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.0001013/0.1336, allocations: 298.7 kB / 297.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.1337, allocations: 38.11 kB / 297.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.1342, allocations: 385.7 kB / 297.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1342, allocations: 9.656 kB / 297.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1342, allocations: 1.469 kB / 297.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1342, allocations: 2.672 kB / 297.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008821/0.1351, allocations: 0.8605 MB / 298.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1351, allocations: 1.438 kB / 298.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1353, allocations: 76.25 kB / 298.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001379/0.1354, allocations: 61.73 kB / 298.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.1354, allocations: 15.11 kB / 298.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006546/0.1361, allocations: 2.128 MB / 300.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1361, allocations: 4.438 kB / 300.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.1367, allocations: 0.5814 MB / 301.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.1367, allocations: 64.39 kB / 301.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1368, allocations: 10.44 kB / 301.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1369, allocations: 17.39 kB / 301.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.1369, allocations: 36.44 kB / 301.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.137, allocations: 12.56 kB / 301.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.107e-05/0.137, allocations: 172.9 kB / 301.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.137, allocations: 1.094 kB / 301.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006197/0.1376, allocations: 257 kB / 301.8 MB, free: 12.45 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.0002104/0.1379, allocations: 137.1 kB / 302 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008698/0.1387, allocations: 0.8152 MB / 302.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1387, allocations: 0 / 302.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.139, allocations: 340.3 kB / 303.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1392, allocations: 45.47 kB / 303.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1403, allocations: 0.7824 MB / 303.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9e-05/0.1404, allocations: 118.6 kB / 304 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.1406, allocations: 65.47 kB / 304.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.1407, allocations: 37.44 kB / 304.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1407, allocations: 0 / 304.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of Templates: time 0.007097/0.1478, allocations: 4.934 MB / 309.1 MB, free: 10.6 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8325640563853085]