Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.315/2.315, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 177] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.008122/0.3452, allocations: 3.645 MB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.3501, allocations: 1.534 MB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000645/0.3508, allocations: 12 kB / 437.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.3537, allocations: 0.7342 MB / 438.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.3554, allocations: 358.1 kB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.3575, allocations: 0.6295 MB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.3586, allocations: 0.537 MB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.3598, allocations: 463.9 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.3603, allocations: 251 kB / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.3609, allocations: 294.8 kB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.361, allocations: 52 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008438/0.3618, allocations: 251.8 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.362, allocations: 119.5 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.3623, allocations: 219 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.3639, allocations: 0.8056 MB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3639, allocations: 3.938 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3639, allocations: 0 / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3639, allocations: 0 / 442.2 MB, free: 12.8 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.003428/0.3674, allocations: 0.8989 MB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3674, allocations: 8.031 kB / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/0.3724, allocations: 396.2 kB / 443.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009936/0.3734, allocations: 299.6 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.916e-05/0.3735, allocations: 45.69 kB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.3736, allocations: 67.94 kB / 443.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.3756, allocations: 0.6778 MB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.3756, allocations: 3.938 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/0.3757, allocations: 24 kB / 444.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.3757, allocations: 16 kB / 444.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.3775, allocations: 0.5712 MB / 445.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004671/0.3822, allocations: 1.757 MB / 446.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.3843, allocations: 478.6 kB / 447.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/0.3849, allocations: 172.7 kB / 447.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.3851, allocations: 23.92 kB / 447.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.3851, allocations: 38.56 kB / 447.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.326e-06/0.3851, allocations: 0 / 447.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002743/0.3879, allocations: 0.5995 MB / 448.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3879, allocations: 55.41 kB / 448.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.3882, allocations: 196.1 kB / 448.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.3883, allocations: 37.7 kB / 448.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.3886, allocations: 261 kB / 448.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.3888, allocations: 154.7 kB / 448.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.389, allocations: 90.12 kB / 449 MB, free: 5.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.3892, allocations: 338.8 kB / 449.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005986/0.3898, allocations: 146.8 kB / 449.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.3905, allocations: 257.2 kB / 449.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.3919, allocations: 441.7 kB / 450.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3919, allocations: 4 kB / 450.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.01169/0.4036, allocations: 0.5142 MB / 450.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.4037, allocations: 8 kB / 450.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.4037, allocations: 4 kB / 450.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003997/0.4041, allocations: 56.83 kB / 450.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007836/0.4049, allocations: 99.81 kB / 450.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.4074, allocations: 1.633 MB / 452.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.408, allocations: 51.66 kB / 452.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.408, allocations: 23.98 kB / 452.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007861/0.4088, allocations: 273 kB / 452.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006638/0.4095, allocations: 248.9 kB / 453.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001254/0.4107, allocations: 427.7 kB / 453.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.032e-06/0.4107, allocations: 3.938 kB / 453.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001646/0.4124, allocations: 0.5016 MB / 454 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4124, allocations: 8 kB / 454 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.4124, allocations: 4 kB / 454 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002802/0.4127, allocations: 52.77 kB / 454.1 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.4134, allocations: 103.8 kB / 454.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.4159, allocations: 1.619 MB / 455.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.4164, allocations: 51.73 kB / 455.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.4164, allocations: 19.98 kB / 455.8 MB, free: 14.48 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.0164/0.4328, allocations: 212.1 kB / 456.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.433, allocations: 23.86 kB / 456.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.435, allocations: 0.5002 MB / 456.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.435, allocations: 8 kB / 456.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.435, allocations: 0 / 456.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.435, allocations: 3.984 kB / 456.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.4379, allocations: 0.9276 MB / 457.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4379, allocations: 0 / 457.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/0.4386, allocations: 83.89 kB / 457.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.4388, allocations: 44.83 kB / 457.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.4389, allocations: 15.98 kB / 457.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.4414, allocations: 1.629 MB / 459.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4414, allocations: 0 / 459.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.4438, allocations: 0.7386 MB / 460 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.4441, allocations: 63.67 kB / 460.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.4442, allocations: 12 kB / 460.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.4446, allocations: 20.11 kB / 460.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.4448, allocations: 32.38 kB / 460.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/0.4448, allocations: 12 kB / 460.2 MB, free: 9.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.4451, allocations: 147 kB / 460.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4451, allocations: 0 / 460.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001591/0.4467, allocations: 255.2 kB / 460.6 MB, free: 9.59 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.0003448/0.447, allocations: 139.4 kB / 460.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01898/0.466, allocations: 0.8492 MB / 461.5 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.466, allocations: 0 / 461.5 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009894/0.467, allocations: 329.1 kB / 461.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.4677, allocations: 41.69 kB / 461.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.4702, allocations: 0.8522 MB / 462.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.4705, allocations: 229.6 kB / 463 MB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000522/0.4711, allocations: 66.94 kB / 463 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.4712, allocations: 39.42 kB / 463.1 MB, free: 6.977 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4712, allocations: 0 / 463.1 MB, free: 6.977 MB / 366.1 MB Notification: Performance of Templates: time 0.03421/0.5055, allocations: 5.074 MB / 468.2 MB, free: 1.961 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.4773394919902785]