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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 79.08 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 146.2 kB / 23.93 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.108e-05, allocations: 2.281 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004239/0.00426, allocations: 3.636 MB / 322.6 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.006745, allocations: 1.469 MB / 324 MB, free: 164 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.007139, allocations: 10.75 kB / 324 MB, free: 164 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.009101, allocations: 0.7634 MB / 324.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.0105, allocations: 0.5028 MB / 325.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.01171, allocations: 0.5098 MB / 325.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008607/0.01257, allocations: 0.5666 MB / 326.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008416/0.01341, allocations: 459.4 kB / 326.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/0.01398, allocations: 347.3 kB / 327.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.01431, allocations: 223.1 kB / 327.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.074e-05/0.01439, allocations: 51.75 kB / 327.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004855/0.01488, allocations: 226.1 kB / 327.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.015, allocations: 125.8 kB / 327.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.01521, allocations: 178.2 kB / 328 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.01631, allocations: 0.828 MB / 328.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01631, allocations: 3.938 kB / 328.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.01632, allocations: 6.172 kB / 328.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.01632, allocations: 0 / 328.8 MB, free: 13.71 MB / 302.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.002307/0.01863, allocations: 0.882 MB / 329.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.01866, allocations: 9.797 kB / 329.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/0.02164, allocations: 415.2 kB / 330.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.02223, allocations: 292.4 kB / 330.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.02228, allocations: 45.28 kB / 330.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.02238, allocations: 59.75 kB / 330.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.02371, allocations: 0.6887 MB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.02373, allocations: 1.094 kB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.0238, allocations: 25.41 kB / 331.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.02381, allocations: 14.22 kB / 331.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.02502, allocations: 0.5702 MB / 331.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.02816, allocations: 1.738 MB / 333.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.02943, allocations: 472.9 kB / 334 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.02984, allocations: 175.6 kB / 334.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.53e-05/0.0299, allocations: 9.531 kB / 334.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.02994, allocations: 37.03 kB / 334.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.214e-06/0.02994, allocations: 1.469 kB / 334.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001745/0.03169, allocations: 0.6012 MB / 334.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.03173, allocations: 56.91 kB / 334.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.03194, allocations: 199.7 kB / 335 MB, free: 9.891 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.03198, allocations: 35.08 kB / 335.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.03215, allocations: 261.7 kB / 335.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.03228, allocations: 156.5 kB / 335.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.03243, allocations: 95.69 kB / 335.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.03258, allocations: 332.3 kB / 335.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.03295, allocations: 153.8 kB / 336.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.0334, allocations: 258.7 kB / 336.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008295/0.03423, allocations: 431.9 kB / 336.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.03424, allocations: 0 / 336.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00109/0.03533, allocations: 0.5198 MB / 337.2 MB, free: 8.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.03534, allocations: 6.844 kB / 337.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.03535, allocations: 3.062 kB / 337.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.03561, allocations: 59.86 kB / 337.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.03604, allocations: 99.44 kB / 337.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.03773, allocations: 1.621 MB / 339 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.03807, allocations: 56.06 kB / 339.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.0381, allocations: 19.44 kB / 339.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004677/0.03857, allocations: 274.8 kB / 339.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003901/0.03896, allocations: 250.7 kB / 339.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007451/0.03971, allocations: 424.4 kB / 340 MB, free: 5.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.03971, allocations: 1.219 kB / 340 MB, free: 5.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001023/0.04073, allocations: 0.4983 MB / 340.5 MB, free: 5.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.04075, allocations: 8 kB / 340.5 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.04075, allocations: 4 kB / 340.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.04093, allocations: 57.23 kB / 340.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.04135, allocations: 103.8 kB / 340.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.04287, allocations: 1.625 MB / 342.3 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.04316, allocations: 35.8 kB / 342.4 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.0432, allocations: 31.92 kB / 342.4 MB, free: 3.559 MB / 302.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.0001868/0.04338, allocations: 208.1 kB / 342.6 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.04346, allocations: 27.94 kB / 342.6 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.04466, allocations: 0.5015 MB / 343.1 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.04466, allocations: 4 kB / 343.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.04467, allocations: 4 kB / 343.1 MB, free: 2.801 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.04468, allocations: 3.984 kB / 343.1 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.0464, allocations: 0.9255 MB / 344.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.04641, allocations: 0 / 344.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.04682, allocations: 79.89 kB / 344.1 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.047, allocations: 52.77 kB / 344.2 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.04703, allocations: 12 kB / 344.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.04868, allocations: 1.619 MB / 345.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.04868, allocations: 3.938 kB / 345.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.05022, allocations: 0.7406 MB / 346.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.05035, allocations: 63.72 kB / 346.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.0504, allocations: 8 kB / 346.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.05067, allocations: 19.98 kB / 346.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.05077, allocations: 32.44 kB / 346.7 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.0508, allocations: 15.94 kB / 346.7 MB, free: 15.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.05094, allocations: 140.3 kB / 346.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.05094, allocations: 0 / 346.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009347/0.05188, allocations: 259.1 kB / 347.1 MB, free: 14.67 MB / 318.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.0002661/0.05214, allocations: 135.1 kB / 347.2 MB, free: 14.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.05388, allocations: 0.853 MB / 348.1 MB, free: 13.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.05389, allocations: 0 / 348.1 MB, free: 13.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.05446, allocations: 313.5 kB / 348.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.05486, allocations: 42.78 kB / 348.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.05638, allocations: 0.8199 MB / 349.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.05661, allocations: 229.8 kB / 349.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.0569, allocations: 62.94 kB / 349.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.05701, allocations: 32.5 kB / 349.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.05701, allocations: 0 / 349.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Templates: time 0.01026/0.06727, allocations: 4.397 MB / 354 MB, free: 7.766 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.270363803952932]