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.0009279/0.0009279, allocations: 88.28 kB / 21.43 MB, free: 3.129 MB / 18.57 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.004557/0.004557, allocations: 154.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8937/0.8937, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.783e-06/1.783e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.819e-05, allocations: 6.219 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003406/0.003424, allocations: 3.651 MB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.004987, allocations: 1.534 MB / 331 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.005119, allocations: 12 kB / 331 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007527/0.005872, allocations: 0.7615 MB / 331.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.00632, allocations: 377.8 kB / 332.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.006917, allocations: 0.642 MB / 332.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.007312, allocations: 0.5516 MB / 333.3 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.007707, allocations: 456.1 kB / 333.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.008154, allocations: 347.2 kB / 334.1 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.008312, allocations: 219.4 kB / 334.3 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.008351, allocations: 52 kB / 334.4 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.008589, allocations: 243.6 kB / 334.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.008641, allocations: 123.5 kB / 334.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.008738, allocations: 179.6 kB / 334.9 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.009284, allocations: 0.8295 MB / 335.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.009286, allocations: 4 kB / 335.7 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.009286, allocations: 0 / 335.7 MB, free: 5.402 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.00929, allocations: 0 / 335.7 MB, free: 5.402 MB / 298.7 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.001046/0.01034, allocations: 0.8988 MB / 336.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.153e-05/0.01036, allocations: 11.98 kB / 336.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.01162, allocations: 396.2 kB / 337 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.01197, allocations: 286.9 kB / 337.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.01199, allocations: 49.62 kB / 337.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.01205, allocations: 60.38 kB / 337.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.01269, allocations: 0.6898 MB / 338.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.0127, allocations: 0 / 338.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.01273, allocations: 24 kB / 338.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.01274, allocations: 16 kB / 338.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.01337, allocations: 0.5673 MB / 338.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.01499, allocations: 1.747 MB / 340.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.01562, allocations: 483.6 kB / 340.9 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.01583, allocations: 172.8 kB / 341.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.01587, allocations: 19.98 kB / 341.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.01601, allocations: 42.55 kB / 341.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 1.252e-06/0.01601, allocations: 3.938 kB / 341.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008342/0.01685, allocations: 0.5967 MB / 341.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.01687, allocations: 59.41 kB / 341.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.01698, allocations: 199.4 kB / 342 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.01701, allocations: 33.7 kB / 342 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.0171, allocations: 268.9 kB / 342.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.01716, allocations: 146.7 kB / 342.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.01724, allocations: 90.14 kB / 342.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.01732, allocations: 334.8 kB / 342.9 MB, free: 14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.01752, allocations: 162.7 kB / 343 MB, free: 13.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.01774, allocations: 253.3 kB / 343.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.01818, allocations: 437.7 kB / 343.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01818, allocations: 0 / 343.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005737/0.01875, allocations: 0.5139 MB / 344.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.01876, allocations: 8 kB / 344.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.01877, allocations: 416 / 344.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.01892, allocations: 60.83 kB / 344.3 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.01913, allocations: 103.8 kB / 344.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008984/0.02002, allocations: 1.633 MB / 346 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.02016, allocations: 59.66 kB / 346.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.02018, allocations: 20 kB / 346.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002503/0.02043, allocations: 265.1 kB / 346.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000212/0.02064, allocations: 248.9 kB / 346.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000408/0.02105, allocations: 419.7 kB / 347 MB, free: 9.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.245e-06/0.02105, allocations: 4 kB / 347 MB, free: 9.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005508/0.0216, allocations: 0.5091 MB / 347.5 MB, free: 9.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/0.02161, allocations: 8 kB / 347.5 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.02161, allocations: 416 / 347.5 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.472e-05/0.0217, allocations: 60.77 kB / 347.6 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.02188, allocations: 95.89 kB / 347.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009317/0.02281, allocations: 1.621 MB / 349.3 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.02293, allocations: 51.72 kB / 349.3 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.02295, allocations: 20 kB / 349.4 MB, free: 7.094 MB / 314.7 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 8.955e-05/0.02304, allocations: 204.1 kB / 349.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.02307, allocations: 23.86 kB / 349.6 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/0.02367, allocations: 0.5056 MB / 350.1 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.02368, allocations: 4 kB / 350.1 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.02368, allocations: 0 / 350.1 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.02368, allocations: 0 / 350.1 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008931/0.02457, allocations: 0.9333 MB / 351 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.02458, allocations: 0 / 351 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.02474, allocations: 75.89 kB / 351.1 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.521e-05/0.02483, allocations: 60.7 kB / 351.2 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.02484, allocations: 8 kB / 351.2 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007851/0.02563, allocations: 1.63 MB / 352.8 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02563, allocations: 3.938 kB / 352.8 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.02639, allocations: 0.7407 MB / 353.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.02646, allocations: 63.73 kB / 353.6 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.02648, allocations: 8 kB / 353.6 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.02659, allocations: 15.98 kB / 353.6 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.02664, allocations: 40.36 kB / 353.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.02665, allocations: 16 kB / 353.7 MB, free: 2.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.925e-05/0.02672, allocations: 136.4 kB / 353.8 MB, free: 2.457 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02672, allocations: 64 / 353.8 MB, free: 2.457 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00047/0.02719, allocations: 263.1 kB / 354.1 MB, free: 2.199 MB / 314.7 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.0001448/0.02734, allocations: 135.5 kB / 354.2 MB, free: 2.059 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008413/0.02818, allocations: 0.8421 MB / 355 MB, free: 1.191 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.02818, allocations: 0 / 355 MB, free: 1.191 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.02867, allocations: 317.5 kB / 355.4 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.02889, allocations: 44.33 kB / 355.4 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.02972, allocations: 0.8452 MB / 356.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.02984, allocations: 233.7 kB / 356.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.02992, allocations: 40.48 kB / 356.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02992, allocations: 0 / 356.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of Templates: time 0.00554/0.03546, allocations: 7.404 MB / 363.9 MB, free: 8.25 MB / 330.7 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.751086358912289]