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.00137/0.00137, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001014/0.001014, allocations: 163 kB / 25.69 MB, free: 8.418 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 1.006/1.006, allocations: 158.6 MB / 187.6 MB, free: 2.789 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 9.02e-07/9.02e-07, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.318e-05, allocations: 10.25 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003525/0.003538, allocations: 4.001 MB / 255.6 MB, free: 3.207 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.005769, allocations: 1.651 MB / 257.2 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.005951, allocations: 15.94 kB / 257.2 MB, free: 1.527 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009275/0.006879, allocations: 0.8163 MB / 258.1 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.007496, allocations: 425.6 kB / 258.5 MB, free: 296 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.008256, allocations: 0.6459 MB / 259.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005119/0.008768, allocations: 0.6144 MB / 259.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/0.009283, allocations: 0.4902 MB / 260.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.009606, allocations: 383 kB / 260.6 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.009823, allocations: 243.3 kB / 260.8 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.009875, allocations: 56 kB / 260.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.0102, allocations: 251.5 kB / 261.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.01026, allocations: 135.4 kB / 261.3 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.01038, allocations: 199.4 kB / 261.5 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.01091, allocations: 0.5877 MB / 262 MB, free: 12.69 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.01091, allocations: 4 kB / 262 MB, free: 12.69 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.01091, allocations: 0 / 262 MB, free: 12.69 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.01092, allocations: 0 / 262 MB, free: 12.69 MB / 250.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.001459/0.01238, allocations: 0.9409 MB / 263 MB, free: 11.72 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.01241, allocations: 15.98 kB / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.01484, allocations: 0.8436 MB / 263.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.01524, allocations: 220.9 kB / 264.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.01528, allocations: 50.38 kB / 264.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.01535, allocations: 72.36 kB / 264.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.01586, allocations: 486.1 kB / 264.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.01588, allocations: 192 / 264.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.01592, allocations: 35.92 kB / 264.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.01594, allocations: 20 kB / 264.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.01644, allocations: 285.8 kB / 265 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.01838, allocations: 1.629 MB / 266.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.019, allocations: 464.8 kB / 267.1 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.01911, allocations: 94.27 kB / 267.2 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.593e-05/0.01916, allocations: 16.48 kB / 267.2 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.01919, allocations: 39.06 kB / 267.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.923e-06/0.01919, allocations: 4 kB / 267.2 MB, free: 7.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005402/0.01973, allocations: 338.7 kB / 267.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.01976, allocations: 59.91 kB / 267.6 MB, free: 6.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.01989, allocations: 228.9 kB / 267.8 MB, free: 6.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.01991, allocations: 33.7 kB / 267.9 MB, free: 6.656 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.02004, allocations: 308.2 kB / 268.2 MB, free: 6.352 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/0.02012, allocations: 170.5 kB / 268.3 MB, free: 6.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.679e-05/0.02021, allocations: 106.2 kB / 268.4 MB, free: 6.074 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.0203, allocations: 342.7 kB / 268.8 MB, free: 5.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.02038, allocations: 67.44 kB / 268.8 MB, free: 5.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.02054, allocations: 249.2 kB / 269.1 MB, free: 5.336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.02084, allocations: 371.8 kB / 269.5 MB, free: 4.895 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.02084, allocations: 12 kB / 269.5 MB, free: 4.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004094/0.02125, allocations: 359.2 kB / 269.8 MB, free: 4.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.02127, allocations: 11.94 kB / 269.8 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.02128, allocations: 8 kB / 269.8 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.02145, allocations: 65.14 kB / 269.9 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.02172, allocations: 135.8 kB / 270 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000908/0.02263, allocations: 1.445 MB / 271.5 MB, free: 2.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.02281, allocations: 63.5 kB / 271.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.02283, allocations: 23.98 kB / 271.6 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001381/0.02297, allocations: 157.4 kB / 271.7 MB, free: 2.531 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002955/0.02327, allocations: 241.2 kB / 271.9 MB, free: 2.219 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002911/0.02356, allocations: 371.9 kB / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.02356, allocations: 4 kB / 272.3 MB, free: 1.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0003827/0.02394, allocations: 370.9 kB / 272.7 MB, free: 1.398 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.02395, allocations: 8 kB / 272.7 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.02396, allocations: 8 kB / 272.7 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.0241, allocations: 61.34 kB / 272.8 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.02433, allocations: 131.8 kB / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008821/0.02521, allocations: 1.442 MB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.0254, allocations: 51.7 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.02542, allocations: 23.98 kB / 274.4 MB, free: 15.59 MB / 266.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.0001426/0.02556, allocations: 224 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.02561, allocations: 31.97 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.02599, allocations: 311.2 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.026, allocations: 8 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.026, allocations: 128 / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02601, allocations: 4 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.02663, allocations: 0.6028 MB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02664, allocations: 0 / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.02683, allocations: 83.89 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.02696, allocations: 60.8 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.02697, allocations: 4 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000747/0.02772, allocations: 1.438 MB / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.02772, allocations: 4 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.02812, allocations: 431.5 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.02818, allocations: 43.67 kB / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.02821, allocations: 4 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.02831, allocations: 19.94 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.02837, allocations: 36.42 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.02839, allocations: 16 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.946e-05/0.02845, allocations: 70.78 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02845, allocations: 0 / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006221/0.02907, allocations: 283.1 kB / 278 MB, free: 11.79 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 (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.0001727/0.02925, allocations: 124.3 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006761/0.02992, allocations: 0.703 MB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.02993, allocations: 4 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.03027, allocations: 263.6 kB / 279.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.03049, allocations: 44.12 kB / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.03178, allocations: 0.8756 MB / 280 MB, free: 9.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.645e-05/0.03187, allocations: 119.3 kB / 280.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.03207, allocations: 83.22 kB / 280.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.03222, allocations: 111.3 kB / 280.3 MB, free: 9.383 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03222, allocations: 4 kB / 280.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of Templates: time 0.008311/0.04053, allocations: 5.236 MB / 285.6 MB, free: 4.16 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] 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","",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.755772203207016]