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.001513/0.001513, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002004/0.002004, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002287/0.002287, allocations: 51.91 kB / 379 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2394, allocations: 53.36 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005517/0.2449, allocations: 4.008 MB / 436.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.2478, allocations: 1.658 MB / 438.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.248, allocations: 15.94 kB / 438.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.2498, allocations: 0.7818 MB / 438.9 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009406/0.2508, allocations: 381.8 kB / 439.2 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.2521, allocations: 0.6696 MB / 439.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.2529, allocations: 0.537 MB / 440.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000733/0.2536, allocations: 460.2 kB / 440.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.254, allocations: 247.1 kB / 441.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003622/0.2544, allocations: 294.8 kB / 441.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.062e-05/0.2544, allocations: 56 kB / 441.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005194/0.255, allocations: 251.8 kB / 441.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2551, allocations: 127.5 kB / 441.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.2553, allocations: 266.7 kB / 442.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.2563, allocations: 0.8041 MB / 442.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2563, allocations: 3.984 kB / 442.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.2563, allocations: 4 kB / 442.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2563, allocations: 0 / 442.9 MB, free: 12.38 MB / 350.1 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.002236/0.2586, allocations: 0.8989 MB / 443.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2586, allocations: 8.031 kB / 443.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/0.2614, allocations: 392.2 kB / 444.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.2621, allocations: 305.8 kB / 444.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.2622, allocations: 45.69 kB / 444.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.2623, allocations: 59.94 kB / 444.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.2634, allocations: 0.6237 MB / 445.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.2635, allocations: 0 / 445.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.2635, allocations: 32 kB / 445.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.2635, allocations: 12 kB / 445.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.2647, allocations: 0.579 MB / 445.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.2679, allocations: 2.002 MB / 447.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.2692, allocations: 487.9 kB / 448.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.2695, allocations: 172.7 kB / 448.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.095e-05/0.2696, allocations: 28.28 kB / 448.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2696, allocations: 42.55 kB / 448.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.113e-06/0.2696, allocations: 0 / 448.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001613/0.2713, allocations: 0.5995 MB / 449.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2713, allocations: 59.34 kB / 449.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.2716, allocations: 277.8 kB / 449.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.2716, allocations: 33.7 kB / 449.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.2718, allocations: 249 kB / 449.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.2719, allocations: 158.6 kB / 449.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2721, allocations: 86.17 kB / 450 MB, free: 5.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2722, allocations: 338.8 kB / 450.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.2726, allocations: 154.8 kB / 450.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.273, allocations: 257.3 kB / 450.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007556/0.2737, allocations: 437.7 kB / 451.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2737, allocations: 0 / 451.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001065/0.2748, allocations: 0.5294 MB / 451.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2748, allocations: 8.406 kB / 451.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2748, allocations: 11.98 kB / 451.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.2751, allocations: 52.83 kB / 451.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.2755, allocations: 95.89 kB / 451.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.2771, allocations: 1.667 MB / 453.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.2775, allocations: 55.61 kB / 453.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.2775, allocations: 31.94 kB / 453.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004573/0.278, allocations: 273.1 kB / 453.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003812/0.2784, allocations: 248.9 kB / 454.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006874/0.279, allocations: 411.7 kB / 454.5 MB, free: 204 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.279, allocations: 8 kB / 454.5 MB, free: 196 kB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001019/0.2801, allocations: 0.5094 MB / 455.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2801, allocations: 12.03 kB / 455.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2801, allocations: 4 kB / 455.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/0.2803, allocations: 52.83 kB / 455.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.2807, allocations: 91.89 kB / 455.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.2822, allocations: 1.673 MB / 456.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.2825, allocations: 39.84 kB / 456.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.2826, allocations: 27.92 kB / 456.9 MB, free: 13.66 MB / 366.1 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.0001874/0.2827, allocations: 204.1 kB / 457.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.2828, allocations: 39.7 kB / 457.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.2839, allocations: 0.4966 MB / 457.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.2839, allocations: 8 kB / 457.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2839, allocations: 4 kB / 457.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2839, allocations: 0 / 457.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.2857, allocations: 1.052 MB / 458.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2857, allocations: 0 / 458.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.286, allocations: 75.89 kB / 458.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.2862, allocations: 60.77 kB / 458.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.2862, allocations: 7.984 kB / 458.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.2878, allocations: 1.656 MB / 460.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2878, allocations: 0 / 460.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.2891, allocations: 0.7543 MB / 461.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.2893, allocations: 79.59 kB / 461.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.2893, allocations: 4 kB / 461.4 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.2896, allocations: 23.98 kB / 461.4 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.2897, allocations: 32.44 kB / 461.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.2897, allocations: 19.98 kB / 461.5 MB, free: 8.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.2899, allocations: 189.2 kB / 461.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2899, allocations: 0 / 461.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008392/0.2907, allocations: 243.3 kB / 461.9 MB, free: 8.52 MB / 366.1 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.0002196/0.2909, allocations: 131.5 kB / 462 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.2926, allocations: 0.8529 MB / 462.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2926, allocations: 0 / 462.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005309/0.2931, allocations: 325.3 kB / 463.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.2935, allocations: 43.53 kB / 463.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.295, allocations: 0.8968 MB / 464.1 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.2954, allocations: 0.825 MB / 464.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2956, allocations: 47.36 kB / 465 MB, free: 5.312 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2956, allocations: 0 / 465 MB, free: 5.312 MB / 366.1 MB Notification: Performance of Templates: time 0.01062/0.3062, allocations: 7.505 MB / 472.5 MB, free: 13.81 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.1677437701728195]