Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.0008004/0.0008004, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008559/0.0008559, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8505/0.8505, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.508e-05, allocations: 6.219 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003458/0.003483, allocations: 3.735 MB / 303.4 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.005187, allocations: 1.554 MB / 305 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.005352, allocations: 12 kB / 305 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000905/0.006257, allocations: 0.7658 MB / 305.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.006825, allocations: 421.6 kB / 306.2 MB, free: 412 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.007492, allocations: 0.6538 MB / 306.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.007966, allocations: 0.6028 MB / 307.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004943/0.00846, allocations: 480 kB / 307.9 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.008757, allocations: 387 kB / 308.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.008965, allocations: 247.3 kB / 308.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.009016, allocations: 56 kB / 308.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.009281, allocations: 235.6 kB / 308.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.009353, allocations: 143.4 kB / 309 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.009472, allocations: 199.4 kB / 309.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006331/0.01011, allocations: 0.8722 MB / 310 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.01011, allocations: 3.938 kB / 310 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01011, allocations: 0 / 310 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.01011, allocations: 0 / 310 MB, free: 12.55 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001257/0.01137, allocations: 0.9424 MB / 311 MB, free: 11.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.0114, allocations: 11.98 kB / 311 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.01335, allocations: 0.6054 MB / 311.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.01377, allocations: 326.8 kB / 311.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.0138, allocations: 50.38 kB / 311.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.01386, allocations: 64.38 kB / 312 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.01466, allocations: 0.786 MB / 312.8 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.01468, allocations: 4.188 kB / 312.8 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.01472, allocations: 27.94 kB / 312.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.01473, allocations: 20 kB / 312.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007737/0.01551, allocations: 0.7105 MB / 313.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.01746, allocations: 1.926 MB / 315.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008365/0.01829, allocations: 0.5472 MB / 316 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.01852, allocations: 194.2 kB / 316.2 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.01856, allocations: 12.48 kB / 316.2 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.01858, allocations: 39.06 kB / 316.3 MB, free: 6.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.623e-06/0.01858, allocations: 0 / 316.3 MB, free: 6.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009819/0.01956, allocations: 0.6342 MB / 316.9 MB, free: 5.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.0196, allocations: 59.91 kB / 317 MB, free: 5.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.01975, allocations: 241.6 kB / 317.2 MB, free: 5.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.01978, allocations: 29.7 kB / 317.2 MB, free: 5.113 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.0199, allocations: 308.2 kB / 317.5 MB, free: 4.809 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.01998, allocations: 174.8 kB / 317.7 MB, free: 4.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/0.02008, allocations: 98.3 kB / 317.8 MB, free: 4.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.02017, allocations: 354.7 kB / 318.1 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.02038, allocations: 163.4 kB / 318.3 MB, free: 4.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.02067, allocations: 361.2 kB / 318.7 MB, free: 3.586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.0212, allocations: 0.5468 MB / 319.2 MB, free: 2.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.0212, allocations: 0 / 319.2 MB, free: 2.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006774/0.02188, allocations: 0.6115 MB / 319.8 MB, free: 2.336 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.02189, allocations: 8 kB / 319.8 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.0219, allocations: 8.094 kB / 319.8 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.02207, allocations: 60.83 kB / 319.9 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.02231, allocations: 131.8 kB / 320 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009817/0.02329, allocations: 1.648 MB / 321.7 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.02346, allocations: 63.55 kB / 321.7 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.02349, allocations: 24 kB / 321.8 MB, free: 296 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002898/0.02378, allocations: 297.4 kB / 322 MB, free: 15.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002646/0.02404, allocations: 341.2 kB / 322.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004857/0.02453, allocations: 0.539 MB / 322.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.02453, allocations: 4 kB / 322.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0006376/0.02517, allocations: 0.6034 MB / 323.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.02518, allocations: 8 kB / 323.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.02518, allocations: 8 kB / 323.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.977e-05/0.02528, allocations: 56.83 kB / 323.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.0255, allocations: 132.2 kB / 323.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008552/0.02636, allocations: 1.633 MB / 325.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.02651, allocations: 51.67 kB / 325.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.02654, allocations: 27.98 kB / 325.4 MB, free: 12.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (69): * Single equations (assignments): 68 * 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.0001155/0.02665, allocations: 216.1 kB / 325.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.02669, allocations: 43.77 kB / 325.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006197/0.02731, allocations: 0.5101 MB / 326.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.02731, allocations: 12 kB / 326.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.02732, allocations: 3.938 kB / 326.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.02732, allocations: 7.922 kB / 326.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.02826, allocations: 0.9762 MB / 327.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.02827, allocations: 3.938 kB / 327.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.02845, allocations: 79.89 kB / 327.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.508e-05/0.02853, allocations: 52.83 kB / 327.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.02855, allocations: 15.98 kB / 327.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008107/0.02936, allocations: 1.618 MB / 329 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.02936, allocations: 8.078 kB / 329 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/0.03016, allocations: 0.7757 MB / 329.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/0.03024, allocations: 67.67 kB / 329.8 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.03026, allocations: 8 kB / 329.8 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.03038, allocations: 19.98 kB / 329.8 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.03045, allocations: 40.48 kB / 329.9 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.03046, allocations: 12 kB / 329.9 MB, free: 7.699 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.447e-05/0.03056, allocations: 165.2 kB / 330.1 MB, free: 7.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.03056, allocations: 0 / 330.1 MB, free: 7.535 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005605/0.03112, allocations: 283.1 kB / 330.3 MB, free: 7.258 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 (46): * Single equations (assignments): 45 * 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.0001832/0.0313, allocations: 143 kB / 330.5 MB, free: 7.109 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009969/0.0323, allocations: 0.9344 MB / 331.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.0323, allocations: 4.188 kB / 331.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.03258, allocations: 321.4 kB / 331.7 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.03285, allocations: 48.36 kB / 331.8 MB, free: 5.777 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.03394, allocations: 0.9511 MB / 332.7 MB, free: 4.793 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.03409, allocations: 242.1 kB / 333 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/0.03419, allocations: 44.48 kB / 333 MB, free: 4.484 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.03419, allocations: 0 / 333 MB, free: 4.484 MB / 314.7 MB Notification: Performance of Templates: time 0.00621/0.0404, allocations: 7.983 MB / 341 MB, free: 12.49 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.821609316393733]