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.001119/0.001119, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.003579/0.003579, allocations: 157.6 kB / 24.99 MB, free: 9.289 MB / 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.9184/0.9184, allocations: 177 MB / 205.2 MB, free: 5.582 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 1.052e-06/1.052e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.409e-05, allocations: 5.266 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003577/0.003592, allocations: 3.92 MB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.005333, allocations: 1.573 MB / 278.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.005493, allocations: 12 kB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009836/0.006477, allocations: 0.8126 MB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005455/0.007022, allocations: 377.8 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.007706, allocations: 0.6534 MB / 280.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.008146, allocations: 0.5446 MB / 280.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004759/0.008622, allocations: 448.1 kB / 281.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.009234, allocations: 355.1 kB / 281.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.009435, allocations: 219.4 kB / 281.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.009487, allocations: 52 kB / 281.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.009878, allocations: 251.5 kB / 282.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.009943, allocations: 127.5 kB / 282.3 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.01006, allocations: 179.5 kB / 282.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.01057, allocations: 0.58 MB / 283 MB, free: 7.645 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.01058, allocations: 0 / 283 MB, free: 7.645 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.01058, allocations: 0 / 283 MB, free: 7.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.01058, allocations: 0 / 283 MB, free: 7.645 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.001277/0.01186, allocations: 1.003 MB / 284.1 MB, free: 6.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.01189, allocations: 11.98 kB / 284.1 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.01361, allocations: 0.496 MB / 284.6 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.01395, allocations: 309.6 kB / 284.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.01398, allocations: 45.69 kB / 284.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.01405, allocations: 60.38 kB / 285 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.01468, allocations: 0.5554 MB / 285.5 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.0147, allocations: 4 kB / 285.5 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.01473, allocations: 20 kB / 285.5 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.01475, allocations: 16 kB / 285.6 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.01521, allocations: 331.6 kB / 285.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.017, allocations: 1.778 MB / 287.7 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.01764, allocations: 443.9 kB / 288.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.01778, allocations: 115.6 kB / 288.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.01784, allocations: 23.98 kB / 288.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.01786, allocations: 33.39 kB / 288.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.613e-06/0.01786, allocations: 0 / 288.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007461/0.01861, allocations: 445.9 kB / 288.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/0.01882, allocations: 63.36 kB / 288.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.01896, allocations: 251.1 kB / 289 MB, free: 1.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.01898, allocations: 41.64 kB / 289 MB, free: 1.371 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01909, allocations: 303.7 kB / 289.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.729e-05/0.01917, allocations: 166.6 kB / 289.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.01926, allocations: 99.78 kB / 289.6 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.01937, allocations: 0.504 MB / 290.1 MB, free: 288 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.01949, allocations: 81.64 kB / 290.2 MB, free: 204 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09454/0.114, allocations: 226.5 kB / 290.4 MB, free: 27.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.1144, allocations: 334.1 kB / 290.7 MB, free: 27.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1144, allocations: 0 / 290.7 MB, free: 27.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005899/0.115, allocations: 405.6 kB / 291.1 MB, free: 27.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1151, allocations: 10.78 kB / 291.1 MB, free: 27.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1151, allocations: 5.891 kB / 291.1 MB, free: 27.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.1153, allocations: 61.31 kB / 291.2 MB, free: 27.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.1156, allocations: 99.19 kB / 291.3 MB, free: 27.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009466/0.1165, allocations: 2.148 MB / 293.5 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.1167, allocations: 38.53 kB / 293.5 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.1167, allocations: 24.27 kB / 293.5 MB, free: 25.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002389/0.117, allocations: 210.3 kB / 293.7 MB, free: 25.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000204/0.1172, allocations: 223.6 kB / 293.9 MB, free: 25.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000364/0.1175, allocations: 338.2 kB / 294.3 MB, free: 24.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.195e-06/0.1175, allocations: 1.281 kB / 294.3 MB, free: 24.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0006178/0.1182, allocations: 404.1 kB / 294.7 MB, free: 24.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.1182, allocations: 6.594 kB / 294.7 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1182, allocations: 3.141 kB / 294.7 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.1183, allocations: 66.05 kB / 294.7 MB, free: 24.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.1186, allocations: 101.4 kB / 294.8 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008004/0.1194, allocations: 2.136 MB / 297 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.1196, allocations: 39.17 kB / 297 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.1196, allocations: 19.91 kB / 297 MB, free: 22.86 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.0001012/0.1197, allocations: 300.2 kB / 297.3 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.1198, allocations: 41.89 kB / 297.4 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.1204, allocations: 379.7 kB / 297.7 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1204, allocations: 5.156 kB / 297.7 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1204, allocations: 5.641 kB / 297.7 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1204, allocations: 6.719 kB / 297.8 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1214, allocations: 0.8573 MB / 298.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1214, allocations: 0 / 298.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.1217, allocations: 80.17 kB / 298.7 MB, free: 21.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/0.1219, allocations: 62.72 kB / 298.7 MB, free: 21.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.1219, allocations: 12.84 kB / 298.8 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007729/0.1226, allocations: 2.135 MB / 300.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1227, allocations: 1.531 kB / 300.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.1234, allocations: 0.5707 MB / 301.5 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.1234, allocations: 62.14 kB / 301.5 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.1235, allocations: 15.05 kB / 301.5 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1236, allocations: 19.16 kB / 301.6 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.1237, allocations: 36.23 kB / 301.6 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1237, allocations: 10.17 kB / 301.6 MB, free: 19.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.122e-05/0.1238, allocations: 172 kB / 301.8 MB, free: 19.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1238, allocations: 0 / 301.8 MB, free: 19.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007776/0.1246, allocations: 261.2 kB / 302 MB, free: 19.28 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.0001929/0.1248, allocations: 140 kB / 302.2 MB, free: 19.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009285/0.1257, allocations: 0.8132 MB / 303 MB, free: 18.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1257, allocations: 0 / 303 MB, free: 18.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.126, allocations: 342.5 kB / 303.3 MB, free: 18.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1263, allocations: 46.39 kB / 303.4 MB, free: 18.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1277, allocations: 0.7895 MB / 304.1 MB, free: 17.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.707e-05/0.1278, allocations: 115.3 kB / 304.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.128, allocations: 65.2 kB / 304.3 MB, free: 17.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.1281, allocations: 38.55 kB / 304.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1281, allocations: 0 / 304.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of Templates: time 0.007955/0.136, allocations: 4.551 MB / 308.9 MB, free: 16.85 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.8349327631294727]