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.0009929/0.0009929, allocations: 84 kB / 21.18 MB, free: 3.398 MB / 18.57 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.00103/0.00103, allocations: 149.1 kB / 24.54 MB, free: 44 kB / 18.57 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 0.9925/0.9925, allocations: 173.4 MB / 201.1 MB, free: 9.355 MB / 186.7 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.453e-06/1.453e-06, allocations: 0 / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.387e-05, allocations: 10.31 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.01088/0.0109, allocations: 3.905 MB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005615/0.01652, allocations: 1.541 MB / 273.4 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.01688, allocations: 12 kB / 273.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.0184, allocations: 0.8087 MB / 274.3 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.02246, allocations: 0.5128 MB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009328/0.02339, allocations: 0.5216 MB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007431/0.02413, allocations: 0.5524 MB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006874/0.02482, allocations: 448.1 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.02524, allocations: 351.1 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.02881, allocations: 223.4 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.33e-05/0.02888, allocations: 51.94 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.02935, allocations: 223.8 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.707e-05/0.02943, allocations: 123.5 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.02958, allocations: 175.5 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007266/0.0303, allocations: 0.5644 MB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.03031, allocations: 0 / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03031, allocations: 4 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.03031, allocations: 0 / 278 MB, free: 12.42 MB / 266.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.001641/0.03196, allocations: 0.9872 MB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.03199, allocations: 8.922 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/0.03629, allocations: 0.5117 MB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.03674, allocations: 299.3 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.03679, allocations: 41.69 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.03688, allocations: 60.38 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008094/0.03769, allocations: 457.1 kB / 280.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.03771, allocations: 3.953 kB / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.03776, allocations: 27.98 kB / 280.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.03777, allocations: 16 kB / 280.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000619/0.03839, allocations: 319.6 kB / 280.7 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.0403, allocations: 1.778 MB / 282.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.04094, allocations: 438.6 kB / 282.9 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.04109, allocations: 111.3 kB / 283 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.488e-05/0.04115, allocations: 19.98 kB / 283 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.04118, allocations: 41.39 kB / 283.1 MB, free: 7.137 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.895e-06/0.04119, allocations: 0 / 283.1 MB, free: 7.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007947/0.04198, allocations: 444.7 kB / 283.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.04201, allocations: 59.39 kB / 283.6 MB, free: 6.621 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.04217, allocations: 249.6 kB / 283.8 MB, free: 6.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.04219, allocations: 37.7 kB / 283.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.04231, allocations: 303.4 kB / 284.1 MB, free: 6.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.04239, allocations: 159 kB / 284.3 MB, free: 5.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.585e-05/0.04249, allocations: 95.73 kB / 284.4 MB, free: 5.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.04261, allocations: 0.5118 MB / 284.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.04273, allocations: 85.64 kB / 285 MB, free: 5.141 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.04291, allocations: 228.9 kB / 285.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.04324, allocations: 337.3 kB / 285.5 MB, free: 4.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.04324, allocations: 0 / 285.5 MB, free: 4.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004818/0.04372, allocations: 413.2 kB / 285.9 MB, free: 4.051 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.04374, allocations: 8 kB / 285.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.04375, allocations: 4 kB / 285.9 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/0.04398, allocations: 63.83 kB / 286 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.04421, allocations: 95.83 kB / 286.1 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.04537, allocations: 2.137 MB / 288.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.04552, allocations: 43.73 kB / 288.3 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.04554, allocations: 23.98 kB / 288.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001812/0.04572, allocations: 207.9 kB / 288.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001669/0.04589, allocations: 228.5 kB / 288.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003007/0.04619, allocations: 331.3 kB / 289 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.04619, allocations: 3.938 kB / 289.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004494/0.04664, allocations: 404.2 kB / 289.4 MB, free: 284 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.04665, allocations: 8 kB / 289.5 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.04666, allocations: 4 kB / 289.5 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.0468, allocations: 63.64 kB / 289.5 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.04698, allocations: 91.95 kB / 289.6 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1061/0.153, allocations: 2.138 MB / 291.7 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.1533, allocations: 41.12 kB / 291.8 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.1533, allocations: 19.72 kB / 291.8 MB, free: 22.47 MB / 266.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 0.0001188/0.1534, allocations: 298.4 kB / 292.1 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.1535, allocations: 43.45 kB / 292.1 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.154, allocations: 381.8 kB / 292.5 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.1541, allocations: 8.469 kB / 292.5 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1541, allocations: 3.031 kB / 292.5 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.1541, allocations: 8.031 kB / 292.5 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/0.155, allocations: 0.8561 MB / 293.4 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.155, allocations: 0.6562 kB / 293.4 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.1552, allocations: 72.98 kB / 293.5 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001704/0.1554, allocations: 61.67 kB / 293.5 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.1554, allocations: 10.11 kB / 293.5 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007352/0.1561, allocations: 2.143 MB / 295.7 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1561, allocations: 0.5625 kB / 295.7 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.1567, allocations: 0.5698 MB / 296.2 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.1568, allocations: 61.88 kB / 296.3 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1568, allocations: 14.48 kB / 296.3 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.1569, allocations: 18.62 kB / 296.3 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.157, allocations: 35.22 kB / 296.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.157, allocations: 11.2 kB / 296.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.003e-05/0.1571, allocations: 172.8 kB / 296.6 MB, free: 19.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1571, allocations: 1.219 kB / 296.6 MB, free: 19.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006719/0.1578, allocations: 253.5 kB / 296.8 MB, free: 19.48 MB / 266.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.0002035/0.158, allocations: 136.9 kB / 296.9 MB, free: 19.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000859/0.1588, allocations: 0.8083 MB / 297.7 MB, free: 19.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1589, allocations: 0 / 297.7 MB, free: 19.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.1591, allocations: 339.9 kB / 298.1 MB, free: 18.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1594, allocations: 45.19 kB / 298.1 MB, free: 18.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.1606, allocations: 0.7922 MB / 298.9 MB, free: 18.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.023e-05/0.1607, allocations: 115.4 kB / 299 MB, free: 18.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.1609, allocations: 69.62 kB / 299.1 MB, free: 18.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.161, allocations: 36.83 kB / 299.1 MB, free: 18.33 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.161, allocations: 0 / 299.1 MB, free: 18.33 MB / 266.7 MB Notification: Performance of Templates: time 0.007722/0.1687, allocations: 4.839 MB / 304 MB, free: 17.82 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8000346678309143]