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.001485/0.001485, allocations: 113.9 kB / 17.07 MB, free: 5.988 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.001671/0.001672, allocations: 196 kB / 18.01 MB, free: 5.066 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.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009238/0.0009238, allocations: 51.91 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2427, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004853/0.2476, allocations: 3.947 MB / 404.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.2502, allocations: 1.569 MB / 406.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.2504, allocations: 12 kB / 406.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.2522, allocations: 0.7777 MB / 407 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2532, allocations: 0.5269 MB / 407.5 MB, free: 2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.2543, allocations: 0.5374 MB / 408.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005968/0.2549, allocations: 0.5331 MB / 408.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007442/0.2556, allocations: 0.4893 MB / 409.1 MB, free: 448 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.2559, allocations: 239.1 kB / 409.3 MB, free: 208 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.2563, allocations: 294.8 kB / 409.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.239e-05/0.2564, allocations: 52 kB / 409.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.2568, allocations: 247.7 kB / 409.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2569, allocations: 119.7 kB / 410 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.2571, allocations: 270.6 kB / 410.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008444/0.258, allocations: 0.7944 MB / 411.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.258, allocations: 3.938 kB / 411.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.258, allocations: 0 / 411.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.258, allocations: 0 / 411.1 MB, free: 14.44 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.002225/0.2603, allocations: 0.952 MB / 412.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2603, allocations: 11.97 kB / 412.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.2635, allocations: 403.9 kB / 412.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.2641, allocations: 361.3 kB / 412.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.2642, allocations: 49.69 kB / 412.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.2643, allocations: 59.94 kB / 412.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.2654, allocations: 0.6276 MB / 413.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.2655, allocations: 11.91 kB / 413.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.2655, allocations: 24 kB / 413.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.2656, allocations: 16 kB / 413.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.2667, allocations: 0.5751 MB / 414.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.2697, allocations: 2.153 MB / 416.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.2712, allocations: 1.183 MB / 417.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.2716, allocations: 192.8 kB / 417.7 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.347e-05/0.2717, allocations: 93.39 kB / 417.8 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2717, allocations: 34.56 kB / 417.8 MB, free: 7.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.074e-06/0.2717, allocations: 0 / 417.8 MB, free: 7.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001706/0.2734, allocations: 0.6863 MB / 418.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2735, allocations: 55.41 kB / 418.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.2737, allocations: 266.6 kB / 418.8 MB, free: 6.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.2738, allocations: 37.7 kB / 418.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2739, allocations: 252.2 kB / 419.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.274, allocations: 145.8 kB / 419.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2742, allocations: 90.16 kB / 419.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2743, allocations: 342.8 kB / 419.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.2747, allocations: 155 kB / 419.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.2751, allocations: 253.9 kB / 420.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/0.2759, allocations: 429.8 kB / 420.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2759, allocations: 3.938 kB / 420.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00101/0.2769, allocations: 0.5254 MB / 421 MB, free: 3.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2769, allocations: 11.98 kB / 421 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2769, allocations: 0 / 421 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.2772, allocations: 61.2 kB / 421.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.2776, allocations: 99.83 kB / 421.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.2791, allocations: 1.763 MB / 423 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.2794, allocations: 63.36 kB / 423 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.2795, allocations: 19.94 kB / 423 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004107/0.2799, allocations: 273.1 kB / 423.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003536/0.2803, allocations: 253.6 kB / 423.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006453/0.2809, allocations: 423.9 kB / 424 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.2809, allocations: 0 / 424 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009269/0.2819, allocations: 0.5087 MB / 424.5 MB, free: 204 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.2819, allocations: 11.94 kB / 424.5 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2819, allocations: 3.984 kB / 424.5 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/0.2821, allocations: 57.23 kB / 424.5 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.2825, allocations: 99.83 kB / 424.6 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.2838, allocations: 1.755 MB / 426.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.2841, allocations: 39.81 kB / 426.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.2842, allocations: 23.98 kB / 426.5 MB, free: 14.07 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.0001456/0.2843, allocations: 216.1 kB / 426.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.2844, allocations: 35.56 kB / 426.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.2855, allocations: 0.5006 MB / 427.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2855, allocations: 7.984 kB / 427.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.2855, allocations: 0 / 427.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2855, allocations: 0 / 427.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.2871, allocations: 1.08 MB / 428.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2871, allocations: 0 / 428.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.2875, allocations: 79.89 kB / 428.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.2877, allocations: 52.83 kB / 428.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.2877, allocations: 11.98 kB / 428.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.2892, allocations: 1.767 MB / 430.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2892, allocations: 4 kB / 430.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.2906, allocations: 0.7463 MB / 431 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.2907, allocations: 148.6 kB / 431.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.2908, allocations: 8 kB / 431.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.291, allocations: 23.98 kB / 431.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.2911, allocations: 32.33 kB / 431.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.2911, allocations: 12 kB / 431.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.2913, allocations: 194 kB / 431.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2913, allocations: 0 / 431.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008108/0.2922, allocations: 247.1 kB / 431.6 MB, free: 8.668 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.0002281/0.2924, allocations: 135.2 kB / 431.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.294, allocations: 0.8725 MB / 432.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.294, allocations: 4 kB / 432.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.2945, allocations: 345.1 kB / 432.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.295, allocations: 48.16 kB / 433 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2963, allocations: 0.8602 MB / 433.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.2967, allocations: 0.8171 MB / 434.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002888/0.297, allocations: 79.23 kB / 434.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.771e-05/0.2971, allocations: 35.44 kB / 434.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2971, allocations: 0 / 434.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of Templates: time 0.008949/0.306, allocations: 4.87 MB / 439.7 MB, free: 0.543 MB / 350.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/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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches