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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 59.91 kB / 373.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1118, allocations: 53.31 MB / 427.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005534/0.1173, allocations: 3.991 MB / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2446/0.362, allocations: 1.637 MB / 432.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.3623, allocations: 12.62 kB / 432.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.3639, allocations: 0.7739 MB / 433.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008746/0.3648, allocations: 389.6 kB / 433.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3659, allocations: 0.6801 MB / 434.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.3664, allocations: 0.5345 MB / 435.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005439/0.367, allocations: 391.4 kB / 435.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.3673, allocations: 242.5 kB / 435.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.3675, allocations: 290.3 kB / 436.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.3676, allocations: 51.94 kB / 436.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.3681, allocations: 255.9 kB / 436.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.3681, allocations: 128.1 kB / 436.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.3683, allocations: 261 kB / 436.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009385/0.3692, allocations: 0.8048 MB / 437.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3692, allocations: 3.812 kB / 437.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3692, allocations: 1.125 kB / 437.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3693, allocations: 0 / 437.5 MB, free: 7.156 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.002043/0.3713, allocations: 0.9715 MB / 438.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3713, allocations: 10.25 kB / 438.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.3743, allocations: 396.7 kB / 438.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/0.3749, allocations: 362 kB / 439.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.3749, allocations: 41.5 kB / 439.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.375, allocations: 63.66 kB / 439.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3762, allocations: 0.6322 MB / 440 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.3762, allocations: 1.125 kB / 440 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/0.3763, allocations: 27.55 kB / 440 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.3763, allocations: 13.53 kB / 440 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.3774, allocations: 0.5748 MB / 440.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.3805, allocations: 2.254 MB / 442.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.3819, allocations: 1.141 MB / 444 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.3822, allocations: 177.6 kB / 444.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.3823, allocations: 175 kB / 444.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.3823, allocations: 36.75 kB / 444.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.793e-06/0.3823, allocations: 1.062 kB / 444.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001631/0.384, allocations: 0.6826 MB / 445.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.384, allocations: 59.72 kB / 445.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.3843, allocations: 280 kB / 445.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3843, allocations: 34.77 kB / 445.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3844, allocations: 253.4 kB / 445.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.3845, allocations: 159.9 kB / 445.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3846, allocations: 86.34 kB / 445.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.3847, allocations: 339.9 kB / 446.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.385, allocations: 157.5 kB / 446.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.3854, allocations: 254.6 kB / 446.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.3862, allocations: 434.9 kB / 447.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3862, allocations: 2.469 kB / 447.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001047/0.3872, allocations: 0.5279 MB / 447.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3872, allocations: 7.906 kB / 447.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3872, allocations: 2.938 kB / 447.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.3875, allocations: 51.38 kB / 447.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.3879, allocations: 99.02 kB / 447.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.3895, allocations: 1.769 MB / 449.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.3899, allocations: 63.77 kB / 449.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.3899, allocations: 21.39 kB / 449.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004953/0.3904, allocations: 272.8 kB / 449.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004241/0.3908, allocations: 251 kB / 450.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007448/0.3916, allocations: 424.2 kB / 450.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.3916, allocations: 2.641 kB / 450.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001061/0.3926, allocations: 0.5163 MB / 451.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3927, allocations: 10.38 kB / 451.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3927, allocations: 3.25 kB / 451.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.3928, allocations: 51.88 kB / 451.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.3932, allocations: 95 kB / 451.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.395, allocations: 1.772 MB / 453 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.3953, allocations: 42.89 kB / 453 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.3954, allocations: 16.44 kB / 453.1 MB, free: 12.38 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.0002239/0.3956, allocations: 204.2 kB / 453.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.3957, allocations: 36.64 kB / 453.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.397, allocations: 0.5053 MB / 453.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.397, allocations: 4.188 kB / 453.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.397, allocations: 1.406 kB / 453.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.397, allocations: 6.891 kB / 453.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.3989, allocations: 1.082 MB / 454.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3989, allocations: 0 / 454.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.3993, allocations: 79.86 kB / 455 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.3995, allocations: 53.59 kB / 455 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.3995, allocations: 8.156 kB / 455 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.4012, allocations: 1.769 MB / 456.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4012, allocations: 4.062 kB / 456.8 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.4027, allocations: 0.7467 MB / 457.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.4029, allocations: 148.2 kB / 457.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.403, allocations: 15.28 kB / 457.7 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.4032, allocations: 17.27 kB / 457.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.4033, allocations: 31.08 kB / 457.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.4034, allocations: 23.12 kB / 457.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.4036, allocations: 194.1 kB / 458 MB, free: 8.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4036, allocations: 0 / 458 MB, free: 8.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009575/0.4045, allocations: 238.2 kB / 458.2 MB, free: 8.84 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.0002445/0.4048, allocations: 142 kB / 458.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.4065, allocations: 0.8453 MB / 459.2 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4065, allocations: 0 / 459.2 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.4071, allocations: 319.5 kB / 459.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.4075, allocations: 45.66 kB / 459.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.409, allocations: 0.8587 MB / 460.4 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.4095, allocations: 0.8256 MB / 461.2 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000291/0.4098, allocations: 74.3 kB / 461.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.4099, allocations: 38.14 kB / 461.3 MB, free: 6.852 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4099, allocations: 0.9062 kB / 461.3 MB, free: 6.852 MB / 366.1 MB Notification: Performance of Templates: time 0.0114/0.4213, allocations: 4.99 MB / 466.3 MB, free: 5.023 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.676478326320648]