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.0009794/0.0009794, allocations: 76.62 kB / 22.21 MB, free: 2.289 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.001057/0.001057, allocations: 146 kB / 25.59 MB, free: 8.605 MB / 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.9557/0.9557, allocations: 173.4 MB / 202.2 MB, free: 8.32 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.643e-06/1.643e-06, allocations: 3.938 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.511e-05, allocations: 2.312 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004352/0.004377, allocations: 3.818 MB / 273 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.007123, allocations: 1.517 MB / 274.5 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00043/0.007553, allocations: 12 kB / 274.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.008966, allocations: 0.7931 MB / 275.3 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.01017, allocations: 0.5159 MB / 275.9 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.01118, allocations: 0.5103 MB / 276.4 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007344/0.01191, allocations: 0.5523 MB / 276.9 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007304/0.01264, allocations: 444.1 kB / 277.3 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005136/0.01316, allocations: 351.1 kB / 277.7 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.01351, allocations: 227.4 kB / 277.9 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.01358, allocations: 51.98 kB / 278 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000629/0.01421, allocations: 223.7 kB / 278.2 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.0143, allocations: 127.5 kB / 278.3 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.01445, allocations: 167.5 kB / 278.5 MB, free: 496 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000831/0.01529, allocations: 0.5683 MB / 279 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.01529, allocations: 0 / 279 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01529, allocations: 0 / 279 MB, free: 15.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.0153, allocations: 0 / 279 MB, free: 15.91 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.00145/0.01675, allocations: 0.9988 MB / 280 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.01678, allocations: 8.031 kB / 280 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.0183, allocations: 0.5117 MB / 280.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.01868, allocations: 290.4 kB / 280.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.01872, allocations: 45.69 kB / 280.9 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.854e-05/0.01878, allocations: 60.38 kB / 280.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.0193, allocations: 405.1 kB / 281.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.01932, allocations: 3.953 kB / 281.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.01936, allocations: 24 kB / 281.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.01937, allocations: 16 kB / 281.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.01968, allocations: 266.2 kB / 281.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.02159, allocations: 1.789 MB / 283.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.02216, allocations: 412.7 kB / 283.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.02226, allocations: 95.58 kB / 283.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.02231, allocations: 15.98 kB / 283.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.02233, allocations: 37.39 kB / 284 MB, free: 10.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/0.02234, allocations: 4 kB / 284 MB, free: 10.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006381/0.02297, allocations: 396.8 kB / 284.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.02301, allocations: 55.41 kB / 284.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.02314, allocations: 254.4 kB / 284.7 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.02316, allocations: 33.7 kB / 284.7 MB, free: 9.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.02328, allocations: 307.4 kB / 285 MB, free: 9.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.02336, allocations: 158.6 kB / 285.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.02346, allocations: 99.75 kB / 285.3 MB, free: 9.418 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.02359, allocations: 0.5078 MB / 285.8 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.02368, allocations: 73.58 kB / 285.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.02384, allocations: 208.9 kB / 286 MB, free: 8.559 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.02411, allocations: 309.3 kB / 286.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02412, allocations: 0 / 286.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004127/0.02453, allocations: 369 kB / 286.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.02454, allocations: 9.875 kB / 286.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.02455, allocations: 4.406 kB / 286.7 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.02473, allocations: 67.64 kB / 286.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.02495, allocations: 91.89 kB / 286.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.026, allocations: 2.114 MB / 289 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.02615, allocations: 47.7 kB / 289 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.02617, allocations: 16 kB / 289.1 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001451/0.02631, allocations: 187.8 kB / 289.2 MB, free: 5.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001346/0.02645, allocations: 204.5 kB / 289.4 MB, free: 4.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002276/0.02668, allocations: 311.2 kB / 289.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.856e-06/0.02668, allocations: 7.922 kB / 289.7 MB, free: 4.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003814/0.02706, allocations: 364.2 kB / 290.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.02707, allocations: 8 kB / 290.1 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.02707, allocations: 0 / 290.1 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.02721, allocations: 68.17 kB / 290.2 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.0274, allocations: 99.83 kB / 290.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00091/0.02831, allocations: 2.104 MB / 292.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.02844, allocations: 35.78 kB / 292.4 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.02846, allocations: 15.98 kB / 292.4 MB, free: 1.75 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.0001293/0.02859, allocations: 299.9 kB / 292.7 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.02864, allocations: 39.81 kB / 292.8 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.02907, allocations: 352.6 kB / 293.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.02908, allocations: 7.938 kB / 293.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.02908, allocations: 4 kB / 293.1 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.02909, allocations: 3.984 kB / 293.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.02983, allocations: 0.7562 MB / 293.9 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.02983, allocations: 8.125 kB / 293.9 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.03001, allocations: 79.89 kB / 294 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.03014, allocations: 55.64 kB / 294 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.03016, allocations: 8 kB / 294 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009558/0.03111, allocations: 2.094 MB / 296.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.03111, allocations: 0 / 296.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.0316, allocations: 0.5211 MB / 296.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.03167, allocations: 67.64 kB / 296.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.0317, allocations: 8.062 kB / 296.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.03181, allocations: 28.05 kB / 296.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.03188, allocations: 40.31 kB / 296.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.03189, allocations: 12 kB / 296.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.789e-05/0.03198, allocations: 164.2 kB / 297 MB, free: 13.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03198, allocations: 0 / 297 MB, free: 13.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006353/0.03262, allocations: 251.2 kB / 297.2 MB, free: 12.78 MB / 282.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.0001993/0.03282, allocations: 147.1 kB / 297.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007117/0.03353, allocations: 0.7631 MB / 298.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03353, allocations: 0 / 298.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.03376, allocations: 329.3 kB / 298.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.03402, allocations: 47.86 kB / 298.5 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.03513, allocations: 0.7748 MB / 299.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.534e-05/0.03521, allocations: 115.3 kB / 299.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.03539, allocations: 66.94 kB / 299.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.03554, allocations: 122.2 kB / 299.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03554, allocations: 0 / 299.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of Templates: time 0.007475/0.04302, allocations: 5.056 MB / 304.6 MB, free: 5.316 MB / 282.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.8435994437895715]