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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001226, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001333, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2364, allocations: 50.55 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.00472/0.2412, allocations: 3.955 MB / 413.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.2439, allocations: 1.616 MB / 414.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.2443, allocations: 16 kB / 414.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.2461, allocations: 0.7739 MB / 415.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008592/0.247, allocations: 378 kB / 416 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.2481, allocations: 0.6689 MB / 416.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.2487, allocations: 0.5331 MB / 417.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.2494, allocations: 0.492 MB / 417.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.2497, allocations: 235.1 kB / 417.9 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.25, allocations: 302.7 kB / 418.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.633e-05/0.2501, allocations: 56 kB / 418.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.2505, allocations: 247.8 kB / 418.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.2506, allocations: 119.6 kB / 418.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.2508, allocations: 270.6 kB / 418.9 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.2517, allocations: 0.8056 MB / 419.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2517, allocations: 0 / 419.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2517, allocations: 0 / 419.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2517, allocations: 0 / 419.7 MB, free: 7.121 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.002085/0.2538, allocations: 0.9704 MB / 420.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.2538, allocations: 8.031 kB / 420.7 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/0.2567, allocations: 420.2 kB / 421.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.2573, allocations: 360.4 kB / 421.4 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.2573, allocations: 45.69 kB / 421.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.2574, allocations: 63.94 kB / 421.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2585, allocations: 0.6237 MB / 422.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2585, allocations: 3.938 kB / 422.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.2586, allocations: 28 kB / 422.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.2586, allocations: 12 kB / 422.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.2597, allocations: 0.5712 MB / 422.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.2627, allocations: 2.245 MB / 425 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.2641, allocations: 1.185 MB / 426.2 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.2645, allocations: 189.2 kB / 426.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.2646, allocations: 174.1 kB / 426.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.2646, allocations: 38.56 kB / 426.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.834e-06/0.2646, allocations: 4 kB / 426.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001583/0.2662, allocations: 0.6786 MB / 427.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.2663, allocations: 59.34 kB / 427.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.2666, allocations: 286.5 kB / 427.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.2666, allocations: 37.64 kB / 427.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.2667, allocations: 245 kB / 427.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.2668, allocations: 162.6 kB / 428 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.267, allocations: 82.25 kB / 428.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2671, allocations: 338.8 kB / 428.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.2674, allocations: 155 kB / 428.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.2679, allocations: 253.9 kB / 428.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007573/0.2686, allocations: 437.7 kB / 429.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2686, allocations: 0 / 429.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001038/0.2697, allocations: 0.5339 MB / 429.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2697, allocations: 8.031 kB / 429.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2697, allocations: 7.984 kB / 429.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.27, allocations: 56.83 kB / 429.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.2704, allocations: 87.89 kB / 430 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.2718, allocations: 1.767 MB / 431.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.2721, allocations: 59.67 kB / 431.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.2722, allocations: 23.94 kB / 431.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000416/0.2726, allocations: 273.2 kB / 432.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003518/0.273, allocations: 245.6 kB / 432.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006514/0.2736, allocations: 419.7 kB / 432.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.2737, allocations: 0 / 432.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000926/0.2746, allocations: 0.513 MB / 433.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.2746, allocations: 11.94 kB / 433.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2746, allocations: 4 kB / 433.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.2748, allocations: 48.95 kB / 433.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.2752, allocations: 103.9 kB / 433.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.2766, allocations: 1.767 MB / 435.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.2769, allocations: 43.77 kB / 435.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.2769, allocations: 12 kB / 435.2 MB, free: 6.516 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.0001467/0.2771, allocations: 204.2 kB / 435.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.2772, allocations: 43.64 kB / 435.5 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.2782, allocations: 0.5045 MB / 436 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2782, allocations: 4 kB / 436 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2782, allocations: 0 / 436 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2782, allocations: 0 / 436 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.2798, allocations: 1.088 MB / 437.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2798, allocations: 0 / 437.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.2802, allocations: 75.89 kB / 437.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/0.2804, allocations: 56.95 kB / 437.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.2804, allocations: 11.94 kB / 437.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.2817, allocations: 1.759 MB / 439 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2818, allocations: 0 / 439 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.2831, allocations: 0.7542 MB / 439.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.2833, allocations: 148.7 kB / 439.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.2833, allocations: 8 kB / 439.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.2836, allocations: 19.98 kB / 439.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.2837, allocations: 32.45 kB / 439.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.2837, allocations: 16 kB / 439.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.2839, allocations: 198 kB / 440.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2839, allocations: 0 / 440.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008048/0.2847, allocations: 239.4 kB / 440.4 MB, free: 1.121 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.0002211/0.2849, allocations: 139.3 kB / 440.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.2865, allocations: 0.8808 MB / 441.4 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2865, allocations: 0 / 441.4 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.287, allocations: 341.1 kB / 441.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.2874, allocations: 51.34 kB / 441.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2888, allocations: 0.8662 MB / 442.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.2893, allocations: 0.8171 MB / 443.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002852/0.2896, allocations: 75.23 kB / 443.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2897, allocations: 39.42 kB / 443.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2897, allocations: 0 / 443.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Templates: time 0.009371/0.2991, allocations: 4.883 MB / 448.5 MB, free: 8.957 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches