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.001307/0.001307, allocations: 88.86 kB / 21.44 MB, free: 276 kB / 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.001378/0.001378, allocations: 160.7 kB / 24.7 MB, free: 3.531 MB / 14.72 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.284/1.284, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 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.573e-06/1.573e-06, allocations: 0 / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.615e-05, allocations: 6.281 kB / 298.9 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.00541/0.005437, allocations: 3.731 MB / 302.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005222/0.01066, allocations: 1.558 MB / 304.2 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.01092, allocations: 15.94 kB / 304.3 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.01287, allocations: 0.7618 MB / 305 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.01391, allocations: 417.7 kB / 305.4 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.01525, allocations: 0.6498 MB / 306.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007352/0.01599, allocations: 0.6145 MB / 306.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007334/0.01672, allocations: 480 kB / 307.2 MB, free: 472 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.01719, allocations: 383 kB / 307.5 MB, free: 88 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.01754, allocations: 247.4 kB / 307.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.072e-05/0.01762, allocations: 52 kB / 307.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.01807, allocations: 247.6 kB / 308.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.0182, allocations: 139.3 kB / 308.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.01842, allocations: 199.4 kB / 308.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.01943, allocations: 0.8684 MB / 309.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01944, allocations: 0 / 309.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01944, allocations: 0 / 309.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.01945, allocations: 0 / 309.3 MB, free: 14.35 MB / 302.1 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.002348/0.0218, allocations: 0.9423 MB / 310.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.02184, allocations: 11.98 kB / 310.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.02639, allocations: 0.6171 MB / 310.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.02709, allocations: 322.9 kB / 311.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.02714, allocations: 50.38 kB / 311.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.02725, allocations: 68.38 kB / 311.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.02863, allocations: 0.7821 MB / 312 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.02865, allocations: 4.141 kB / 312.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.229e-05/0.02872, allocations: 31.94 kB / 312.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.02874, allocations: 20 kB / 312.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.03017, allocations: 0.7105 MB / 312.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.03371, allocations: 1.923 MB / 314.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.03528, allocations: 0.5389 MB / 315.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/0.0357, allocations: 198.2 kB / 315.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.03576, allocations: 12.5 kB / 315.5 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.0358, allocations: 39.06 kB / 315.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 2.404e-06/0.0358, allocations: 0 / 315.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.001783/0.03759, allocations: 0.6342 MB / 316.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.03764, allocations: 55.91 kB / 316.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.03797, allocations: 241.5 kB / 316.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.03801, allocations: 37.7 kB / 316.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.03822, allocations: 300.3 kB / 316.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.03837, allocations: 178.8 kB / 316.9 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.03854, allocations: 110.3 kB / 317.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.0387, allocations: 338.8 kB / 317.4 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.03909, allocations: 175.4 kB / 317.6 MB, free: 5.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.03962, allocations: 349.2 kB / 317.9 MB, free: 5.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009689/0.04059, allocations: 0.5428 MB / 318.4 MB, free: 4.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.0406, allocations: 8 kB / 318.4 MB, free: 4.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001303/0.0419, allocations: 0.6111 MB / 319.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.04192, allocations: 14.44 kB / 319.1 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.04193, allocations: 11.98 kB / 319.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.04219, allocations: 57.31 kB / 319.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.04271, allocations: 135.8 kB / 319.3 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.04444, allocations: 1.64 MB / 320.9 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.04483, allocations: 67.55 kB / 321 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.04487, allocations: 31.98 kB / 321 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005163/0.04539, allocations: 289.4 kB / 321.3 MB, free: 1.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005152/0.04591, allocations: 341.2 kB / 321.6 MB, free: 1.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009141/0.04682, allocations: 0.539 MB / 322.2 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.04682, allocations: 0 / 322.2 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001214/0.04804, allocations: 0.6076 MB / 322.8 MB, free: 144 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.04805, allocations: 8.156 kB / 322.8 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.04806, allocations: 8 kB / 322.8 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.04824, allocations: 56.81 kB / 322.8 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1484/0.1966, allocations: 124 kB / 323 MB, free: 33.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.1979, allocations: 1.631 MB / 324.6 MB, free: 31.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.1983, allocations: 53.75 kB / 324.7 MB, free: 31.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.1983, allocations: 26.91 kB / 324.7 MB, free: 31.92 MB / 302.1 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.000165/0.1985, allocations: 219.8 kB / 324.9 MB, free: 31.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.1986, allocations: 33.06 kB / 324.9 MB, free: 31.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.1997, allocations: 0.519 MB / 325.4 MB, free: 31.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1997, allocations: 5.156 kB / 325.4 MB, free: 31.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1997, allocations: 4.938 kB / 325.5 MB, free: 31.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.1997, allocations: 2.672 kB / 325.5 MB, free: 31.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.2014, allocations: 0.978 MB / 326.4 MB, free: 31.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2014, allocations: 3.953 kB / 326.4 MB, free: 31.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.2018, allocations: 84.33 kB / 326.5 MB, free: 31.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/0.202, allocations: 54.86 kB / 326.6 MB, free: 31.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.202, allocations: 9.297 kB / 326.6 MB, free: 31.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.2031, allocations: 1.622 MB / 328.2 MB, free: 29.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2031, allocations: 1.469 kB / 328.2 MB, free: 29.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.2045, allocations: 0.772 MB / 329 MB, free: 29.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2046, allocations: 78.97 kB / 329.1 MB, free: 29.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.2046, allocations: 7.328 kB / 329.1 MB, free: 29.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.2049, allocations: 21.67 kB / 329.1 MB, free: 29.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.205, allocations: 35.44 kB / 329.1 MB, free: 29.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.205, allocations: 13.98 kB / 329.1 MB, free: 29.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.2052, allocations: 161.2 kB / 329.3 MB, free: 29.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2052, allocations: 3.938 kB / 329.3 MB, free: 29.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001065/0.2062, allocations: 283.9 kB / 329.6 MB, free: 29.12 MB / 302.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 (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.0002258/0.2065, allocations: 146.7 kB / 329.7 MB, free: 29.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.2082, allocations: 0.9373 MB / 330.7 MB, free: 28.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2082, allocations: 1.375 kB / 330.7 MB, free: 28.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.2087, allocations: 332.4 kB / 331 MB, free: 28.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.2091, allocations: 44.83 kB / 331 MB, free: 28.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.2108, allocations: 0.9108 MB / 331.9 MB, free: 27.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.211, allocations: 240.4 kB / 332.2 MB, free: 27.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000307/0.2114, allocations: 82.25 kB / 332.2 MB, free: 27.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2115, allocations: 40.88 kB / 332.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2115, allocations: 0 / 332.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01156/0.223, allocations: 4.658 MB / 336.9 MB, free: 27.18 MB / 302.1 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.456461064517498]