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.0009011/0.0009011, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009383/0.0009383, allocations: 164.3 kB / 24.99 MB, free: 8.742 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.493e-06/1.493e-06, allocations: 0 / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.959e-05, allocations: 2.312 kB / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003609/0.003628, allocations: 3.92 MB / 277 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.006172, allocations: 1.577 MB / 278.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.006418, allocations: 12 kB / 278.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.007604, allocations: 0.8087 MB / 279.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006806/0.008285, allocations: 389.8 kB / 279.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00077/0.009055, allocations: 0.6382 MB / 280.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.009582, allocations: 0.5523 MB / 280.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000557/0.01014, allocations: 452.1 kB / 281.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.01047, allocations: 351.2 kB / 281.7 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.01067, allocations: 223.4 kB / 281.9 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.01073, allocations: 52 kB / 282 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.01109, allocations: 243.6 kB / 282.2 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.01116, allocations: 127.5 kB / 282.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.01129, allocations: 175.6 kB / 282.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.01188, allocations: 0.5838 MB / 283.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.01188, allocations: 0 / 283.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01188, allocations: 0 / 283.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.01189, allocations: 4 kB / 283.1 MB, free: 7.734 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.001381/0.01327, allocations: 0.9989 MB / 284.1 MB, free: 6.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.01331, allocations: 8.031 kB / 284.1 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.01506, allocations: 0.5 MB / 284.6 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.01548, allocations: 305.6 kB / 284.9 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.01552, allocations: 45.62 kB / 285 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/0.01559, allocations: 60.38 kB / 285 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.01629, allocations: 0.5593 MB / 285.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.01631, allocations: 0 / 285.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.01635, allocations: 27.94 kB / 285.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.01637, allocations: 16 kB / 285.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.01687, allocations: 339.6 kB / 286 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.01896, allocations: 1.766 MB / 287.7 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.01965, allocations: 444 kB / 288.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.01981, allocations: 115.6 kB / 288.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.727e-05/0.01987, allocations: 23.92 kB / 288.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.0199, allocations: 37.39 kB / 288.3 MB, free: 2.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.993e-06/0.0199, allocations: 7.938 kB / 288.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008239/0.02072, allocations: 444.8 kB / 288.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.02076, allocations: 63.36 kB / 288.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.02092, allocations: 252.1 kB / 289.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.02095, allocations: 33.7 kB / 289.1 MB, free: 1.461 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.02107, allocations: 307.4 kB / 289.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/0.02116, allocations: 159 kB / 289.6 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.02126, allocations: 99.78 kB / 289.7 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.02138, allocations: 0.504 MB / 290.2 MB, free: 384 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.02152, allocations: 81.64 kB / 290.2 MB, free: 300 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.02171, allocations: 232.9 kB / 290.5 MB, free: 0 / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1022/0.1239, allocations: 328.4 kB / 290.8 MB, free: 27.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1239, allocations: 1.594 kB / 290.8 MB, free: 27.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005882/0.1245, allocations: 410.2 kB / 291.2 MB, free: 27.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1245, allocations: 10.5 kB / 291.2 MB, free: 27.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1245, allocations: 3.656 kB / 291.2 MB, free: 27.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.1247, allocations: 63.09 kB / 291.3 MB, free: 27.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.125, allocations: 94.41 kB / 291.4 MB, free: 27.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007897/0.1258, allocations: 2.137 MB / 293.5 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.1259, allocations: 44.12 kB / 293.5 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.126, allocations: 25.36 kB / 293.6 MB, free: 25.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000244/0.1262, allocations: 210.3 kB / 293.8 MB, free: 25.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000206/0.1264, allocations: 221.2 kB / 294 MB, free: 25.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003813/0.1268, allocations: 335.2 kB / 294.3 MB, free: 25.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.1268, allocations: 0.875 kB / 294.3 MB, free: 25.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005763/0.1274, allocations: 404.1 kB / 294.7 MB, free: 24.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1274, allocations: 9.234 kB / 294.7 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1274, allocations: 3.438 kB / 294.7 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.1275, allocations: 63.83 kB / 294.8 MB, free: 24.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.1278, allocations: 98.33 kB / 294.9 MB, free: 24.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007358/0.1285, allocations: 2.141 MB / 297 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.1286, allocations: 40.09 kB / 297.1 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.1287, allocations: 20.14 kB / 297.1 MB, free: 22.98 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.0001065/0.1288, allocations: 295 kB / 297.4 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.1288, allocations: 48.36 kB / 297.4 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000583/0.1294, allocations: 384.5 kB / 297.8 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1294, allocations: 8.828 kB / 297.8 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1294, allocations: 5.375 kB / 297.8 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1294, allocations: 2.109 kB / 297.8 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.1304, allocations: 0.8573 MB / 298.7 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1304, allocations: 1.156 kB / 298.7 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.1306, allocations: 78.09 kB / 298.7 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/0.1307, allocations: 56.11 kB / 298.8 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.1307, allocations: 13.86 kB / 298.8 MB, free: 22.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007024/0.1315, allocations: 2.132 MB / 300.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1315, allocations: 0.9375 kB / 300.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.1321, allocations: 0.5754 MB / 301.5 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.1322, allocations: 60.62 kB / 301.6 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1322, allocations: 14.3 kB / 301.6 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1323, allocations: 17.52 kB / 301.6 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.1324, allocations: 32.98 kB / 301.6 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1324, allocations: 14.25 kB / 301.7 MB, free: 19.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.483e-05/0.1325, allocations: 175 kB / 301.8 MB, free: 19.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1325, allocations: 1.156 kB / 301.8 MB, free: 19.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006533/0.1331, allocations: 266.2 kB / 302.1 MB, free: 19.43 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.0001999/0.1333, allocations: 137.9 kB / 302.2 MB, free: 19.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009105/0.1342, allocations: 0.8127 MB / 303 MB, free: 18.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1343, allocations: 4.391 kB / 303 MB, free: 18.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.1345, allocations: 338.7 kB / 303.4 MB, free: 18.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1348, allocations: 42.22 kB / 303.4 MB, free: 18.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1361, allocations: 0.7935 MB / 304.2 MB, free: 18.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.131e-05/0.1362, allocations: 115.5 kB / 304.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.1364, allocations: 66.17 kB / 304.4 MB, free: 18.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.1364, allocations: 38 kB / 304.4 MB, free: 18.04 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1364, allocations: 1.219 kB / 304.4 MB, free: 18.04 MB / 266.7 MB Notification: Performance of Templates: time 0.007351/0.1438, allocations: 4.55 MB / 309 MB, free: 17 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.744473544880748]