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.0009757/0.0009757, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.0008992/0.0008992, allocations: 174 kB / 24.82 MB, free: 9.297 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.9317/0.9317, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.403e-06/1.403e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.623e-05, allocations: 2.312 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.00352/0.003536, allocations: 3.844 MB / 277.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.005463, allocations: 1.573 MB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.00564, allocations: 11.94 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009959/0.006636, allocations: 0.7931 MB / 279.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000592/0.007228, allocations: 381.7 kB / 280 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.007946, allocations: 0.641 MB / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.008465, allocations: 0.5485 MB / 281.2 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.008956, allocations: 448.1 kB / 281.6 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.009295, allocations: 359.1 kB / 282 MB, free: 8.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.009479, allocations: 211.4 kB / 282.2 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.00953, allocations: 59.98 kB / 282.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.009855, allocations: 235.6 kB / 282.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.009918, allocations: 127.5 kB / 282.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.01003, allocations: 175.5 kB / 282.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.01054, allocations: 0.5644 MB / 283.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01054, allocations: 3.984 kB / 283.3 MB, free: 7.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01054, allocations: 0 / 283.3 MB, free: 7.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.01055, allocations: 0 / 283.3 MB, free: 7.297 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.001202/0.01175, allocations: 1.006 MB / 284.3 MB, free: 6.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.01178, allocations: 8.031 kB / 284.3 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.01324, allocations: 0.4921 MB / 284.8 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.01351, allocations: 295.4 kB / 285.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.01354, allocations: 45.69 kB / 285.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.0136, allocations: 64.31 kB / 285.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.01405, allocations: 409.1 kB / 285.6 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.01406, allocations: 0 / 285.6 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.0141, allocations: 20 kB / 285.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.01411, allocations: 16 kB / 285.7 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.01441, allocations: 274.2 kB / 285.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.0161, allocations: 1.781 MB / 287.7 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.01664, allocations: 420.1 kB / 288.1 MB, free: 2.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.336e-05/0.01673, allocations: 99.58 kB / 288.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/0.01679, allocations: 27.97 kB / 288.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.01681, allocations: 37.39 kB / 288.3 MB, free: 2.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/0.01681, allocations: 0 / 288.3 MB, free: 2.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006038/0.01742, allocations: 396.8 kB / 288.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.01744, allocations: 63.36 kB / 288.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.01757, allocations: 252 kB / 289 MB, free: 1.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.0176, allocations: 29.7 kB / 289 MB, free: 1.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01771, allocations: 315.4 kB / 289.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.01779, allocations: 158.6 kB / 289.5 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.01788, allocations: 95.77 kB / 289.6 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.01801, allocations: 0.5117 MB / 290.1 MB, free: 264 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/0.01809, allocations: 69.64 kB / 290.1 MB, free: 192 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1092/0.1273, allocations: 212.1 kB / 290.3 MB, free: 20.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.1277, allocations: 300.9 kB / 290.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1277, allocations: 1.969 kB / 290.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005382/0.1282, allocations: 366.9 kB / 291 MB, free: 20.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1282, allocations: 11.02 kB / 291 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1282, allocations: 5.312 kB / 291 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.1284, allocations: 60.34 kB / 291.1 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.1287, allocations: 98.98 kB / 291.2 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008804/0.1295, allocations: 2.104 MB / 293.3 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1297, allocations: 46.78 kB / 293.3 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1297, allocations: 17.45 kB / 293.3 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001812/0.1299, allocations: 195.6 kB / 293.5 MB, free: 18.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001425/0.1301, allocations: 208.9 kB / 293.7 MB, free: 18.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002481/0.1303, allocations: 308.4 kB / 294 MB, free: 18.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.1303, allocations: 1.156 kB / 294 MB, free: 18.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000427/0.1307, allocations: 365 kB / 294.4 MB, free: 18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.1307, allocations: 6.25 kB / 294.4 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1307, allocations: 4.016 kB / 294.4 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.1309, allocations: 63.8 kB / 294.5 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.1311, allocations: 96.19 kB / 294.6 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006699/0.1318, allocations: 2.104 MB / 296.7 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.1319, allocations: 40.64 kB / 296.7 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.1319, allocations: 22.02 kB / 296.7 MB, free: 16.07 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.0001002/0.132, allocations: 290.8 kB / 297 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.1321, allocations: 44.95 kB / 297 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.1325, allocations: 353.2 kB / 297.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1325, allocations: 6.594 kB / 297.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1325, allocations: 0.5469 kB / 297.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1325, allocations: 10.36 kB / 297.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007519/0.1333, allocations: 0.7636 MB / 298.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1333, allocations: 0.8906 kB / 298.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.1335, allocations: 74.36 kB / 298.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/0.1336, allocations: 63.08 kB / 298.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1336, allocations: 11.89 kB / 298.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006564/0.1343, allocations: 2.095 MB / 300.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1343, allocations: 4.453 kB / 300.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.1348, allocations: 0.5268 MB / 300.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.1349, allocations: 59.48 kB / 301 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1349, allocations: 9.094 kB / 301 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.135, allocations: 16.73 kB / 301 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.1351, allocations: 40.36 kB / 301.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1351, allocations: 8.406 kB / 301.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.235e-05/0.1352, allocations: 170.4 kB / 301.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1352, allocations: 0 / 301.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006392/0.1358, allocations: 260.1 kB / 301.5 MB, free: 13.07 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.0001715/0.136, allocations: 145 kB / 301.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006711/0.1366, allocations: 0.7678 MB / 302.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1366, allocations: 1.219 kB / 302.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.1369, allocations: 325.1 kB / 302.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1371, allocations: 45.89 kB / 302.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1382, allocations: 0.7735 MB / 303.5 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.476e-05/0.1383, allocations: 115.6 kB / 303.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.1385, allocations: 62.69 kB / 303.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1386, allocations: 128.4 kB / 303.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1386, allocations: 0 / 303.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of Templates: time 0.007729/0.1464, allocations: 5.046 MB / 308.9 MB, free: 11.16 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.618436173070222]