Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 110.5 kB / 17.71 MB, free: 5.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 188.2 kB / 18.64 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 47.92 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2195, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004707/0.2242, allocations: 3.959 MB / 405.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.2267, allocations: 1.565 MB / 406.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.227, allocations: 12 kB / 406.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.2289, allocations: 0.7758 MB / 407.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.23, allocations: 0.5231 MB / 408.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.231, allocations: 0.5415 MB / 408.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006074/0.2316, allocations: 0.5293 MB / 409.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006944/0.2323, allocations: 0.4932 MB / 409.7 MB, free: 496 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.2326, allocations: 235.1 kB / 410 MB, free: 260 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.233, allocations: 298.8 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.233, allocations: 52 kB / 410.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.2335, allocations: 239.8 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.209e-05/0.2336, allocations: 123.5 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.2338, allocations: 270.6 kB / 410.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007508/0.2345, allocations: 0.7944 MB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2345, allocations: 4 kB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2346, allocations: 0 / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2346, allocations: 0 / 411.7 MB, free: 14.49 MB / 334.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.001998/0.2366, allocations: 0.952 MB / 412.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2366, allocations: 12.03 kB / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.2394, allocations: 399.9 kB / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.24, allocations: 357.3 kB / 413.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.24, allocations: 49.69 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.17e-05/0.2401, allocations: 67.92 kB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.2412, allocations: 0.6237 MB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.2413, allocations: 3.906 kB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.2413, allocations: 28 kB / 414.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2413, allocations: 15.94 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.2424, allocations: 0.5751 MB / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.2453, allocations: 2.157 MB / 417 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.2467, allocations: 1.187 MB / 418.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.2471, allocations: 196.7 kB / 418.3 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-05/0.2472, allocations: 97.39 kB / 418.4 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.2472, allocations: 30.56 kB / 418.5 MB, free: 7.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.074e-06/0.2472, allocations: 0 / 418.5 MB, free: 7.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001644/0.2489, allocations: 0.6863 MB / 419.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2489, allocations: 55.41 kB / 419.2 MB, free: 6.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.2492, allocations: 270.6 kB / 419.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.2492, allocations: 33.7 kB / 419.5 MB, free: 6.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.2494, allocations: 252.2 kB / 419.7 MB, free: 5.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.659e-05/0.2495, allocations: 149.8 kB / 419.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2496, allocations: 86.16 kB / 420 MB, free: 5.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2497, allocations: 342.8 kB / 420.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.2501, allocations: 155 kB / 420.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.2505, allocations: 257.9 kB / 420.7 MB, free: 4.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007377/0.2512, allocations: 429.8 kB / 421.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2512, allocations: 0 / 421.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001043/0.2523, allocations: 0.5255 MB / 421.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2523, allocations: 4 kB / 421.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2523, allocations: 4 kB / 421.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/0.2526, allocations: 61.11 kB / 421.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.253, allocations: 107.8 kB / 421.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.2545, allocations: 1.763 MB / 423.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.2548, allocations: 67.3 kB / 423.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.2549, allocations: 19.94 kB / 423.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004319/0.2553, allocations: 273.2 kB / 423.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003716/0.2557, allocations: 253.6 kB / 424.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007365/0.2564, allocations: 419.9 kB / 424.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.2565, allocations: 0 / 424.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009673/0.2574, allocations: 0.5087 MB / 425.1 MB, free: 248 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2575, allocations: 11.94 kB / 425.1 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2575, allocations: 0 / 425.1 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.2577, allocations: 57.23 kB / 425.2 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.2581, allocations: 103.8 kB / 425.3 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.2596, allocations: 1.755 MB / 427 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.2599, allocations: 35.69 kB / 427.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.26, allocations: 23.98 kB / 427.1 MB, free: 14.12 MB / 350.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.0001785/0.2601, allocations: 212.1 kB / 427.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.2602, allocations: 35.56 kB / 427.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.2614, allocations: 0.5007 MB / 427.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2614, allocations: 4 kB / 427.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2614, allocations: 4 kB / 427.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2615, allocations: 3.984 kB / 427.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.2631, allocations: 1.092 MB / 428.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2632, allocations: 0 / 428.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.2635, allocations: 75.89 kB / 429 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001761/0.2637, allocations: 52.83 kB / 429.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.2638, allocations: 8 kB / 429.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.2653, allocations: 1.759 MB / 430.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2653, allocations: 48 / 430.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.2666, allocations: 0.7502 MB / 431.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2667, allocations: 148.7 kB / 431.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.2668, allocations: 8 kB / 431.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.2671, allocations: 23.98 kB / 431.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.2671, allocations: 28.39 kB / 431.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.2672, allocations: 19.98 kB / 431.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.2674, allocations: 190 kB / 432 MB, free: 8.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2674, allocations: 0 / 432 MB, free: 8.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008555/0.2682, allocations: 243.1 kB / 432.2 MB, free: 8.723 MB / 350.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.0002244/0.2685, allocations: 135.2 kB / 432.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.2701, allocations: 0.888 MB / 433.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2701, allocations: 0 / 433.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.2707, allocations: 341.1 kB / 433.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.2711, allocations: 49.05 kB / 433.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.2726, allocations: 0.8892 MB / 434.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.2731, allocations: 0.821 MB / 435.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.2732, allocations: 39.42 kB / 435.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2732, allocations: 0 / 435.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of Templates: time 0.009398/0.2826, allocations: 7.254 MB / 442.6 MB, free: 14.22 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches