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.001423/0.001423, 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.001522/0.001522, allocations: 162.7 kB / 25.7 MB, free: 8.406 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.8491/0.8491, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.353e-06/1.353e-06, allocations: 0 / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.88e-05, allocations: 6.25 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005226/0.005245, allocations: 3.954 MB / 255.5 MB, free: 3.297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.008418, allocations: 1.655 MB / 257.1 MB, free: 1.633 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.008744, allocations: 12 kB / 257.1 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.01034, allocations: 0.8319 MB / 258 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007114/0.01105, allocations: 429.6 kB / 258.4 MB, free: 372 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007892/0.01184, allocations: 0.6497 MB / 259 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005744/0.01241, allocations: 0.6105 MB / 259.7 MB, free: 15.1 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005084/0.01292, allocations: 0.4902 MB / 260.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.01333, allocations: 387 kB / 260.5 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.01354, allocations: 251.3 kB / 260.8 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.01359, allocations: 52 kB / 260.8 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.01391, allocations: 231.6 kB / 261 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.01398, allocations: 139.4 kB / 261.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.0141, allocations: 195.4 kB / 261.4 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.01462, allocations: 0.5915 MB / 262 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01462, allocations: 0 / 262 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01463, allocations: 7.984 kB / 262 MB, free: 12.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.01463, allocations: 0 / 262 MB, free: 12.77 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.001269/0.0159, allocations: 0.9448 MB / 262.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.01594, allocations: 11.98 kB / 262.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.01813, allocations: 0.8396 MB / 263.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.01858, allocations: 228.9 kB / 264 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.01861, allocations: 50.38 kB / 264 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.01868, allocations: 68.36 kB / 264.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.01914, allocations: 482.2 kB / 264.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.01915, allocations: 4.172 kB / 264.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.01919, allocations: 31.94 kB / 264.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.0192, allocations: 16 kB / 264.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.01953, allocations: 297.7 kB / 264.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.02124, allocations: 1.621 MB / 266.5 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.02181, allocations: 475.6 kB / 267 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.0219, allocations: 90.31 kB / 267.1 MB, free: 7.488 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.02195, allocations: 20.48 kB / 267.1 MB, free: 7.469 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.02197, allocations: 39.06 kB / 267.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.844e-06/0.02197, allocations: 0 / 267.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005021/0.02247, allocations: 338.7 kB / 267.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.0225, allocations: 59.84 kB / 267.5 MB, free: 7.008 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.02261, allocations: 228.9 kB / 267.8 MB, free: 6.773 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.02263, allocations: 33.7 kB / 267.8 MB, free: 6.734 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.02274, allocations: 312.2 kB / 268.1 MB, free: 6.426 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/0.02282, allocations: 170.5 kB / 268.3 MB, free: 6.258 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.63e-05/0.02292, allocations: 106.2 kB / 268.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.023, allocations: 342.7 kB / 268.7 MB, free: 5.805 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.02307, allocations: 63.45 kB / 268.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.02322, allocations: 245.2 kB / 269 MB, free: 5.418 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.02348, allocations: 371.9 kB / 269.4 MB, free: 4.977 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.02348, allocations: 4 kB / 269.4 MB, free: 4.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003646/0.02385, allocations: 371.4 kB / 269.7 MB, free: 4.598 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.02386, allocations: 11.94 kB / 269.7 MB, free: 4.586 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.02387, allocations: 4 kB / 269.8 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.02403, allocations: 64.81 kB / 269.8 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.02427, allocations: 123.8 kB / 269.9 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00088/0.02515, allocations: 1.449 MB / 271.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.0253, allocations: 63.53 kB / 271.4 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.02532, allocations: 23.98 kB / 271.5 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001248/0.02545, allocations: 145.4 kB / 271.6 MB, free: 2.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001496/0.0256, allocations: 253.2 kB / 271.9 MB, free: 2.305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002818/0.02588, allocations: 375.8 kB / 272.2 MB, free: 1.859 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.02588, allocations: 4 kB / 272.2 MB, free: 1.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0003622/0.02624, allocations: 367.1 kB / 272.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.02625, allocations: 4 kB / 272.6 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.02626, allocations: 8 kB / 272.6 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/0.02638, allocations: 65.3 kB / 272.7 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.0266, allocations: 123.8 kB / 272.8 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006676/0.02726, allocations: 1.442 MB / 274.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.0274, allocations: 51.67 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.02743, allocations: 23.98 kB / 274.3 MB, free: 15.69 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.0001044/0.02753, allocations: 220.1 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.02757, allocations: 35.97 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.02791, allocations: 303.3 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02792, allocations: 8 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.02792, allocations: 4 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.02793, allocations: 0 / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.0285, allocations: 0.6066 MB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.0285, allocations: 4 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.02868, allocations: 83.95 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.02879, allocations: 48.83 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.02881, allocations: 15.98 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006359/0.02944, allocations: 1.43 MB / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02944, allocations: 8.031 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.02981, allocations: 423.5 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.02987, allocations: 43.67 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.02989, allocations: 12 kB / 277.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.03, allocations: 19.98 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.03004, allocations: 32.56 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.03006, allocations: 19.92 kB / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.03011, allocations: 62.78 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03011, allocations: 8.031 kB / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005042/0.03061, allocations: 283.1 kB / 277.9 MB, free: 11.89 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.0002843/0.03089, allocations: 128.2 kB / 278.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006429/0.03154, allocations: 0.6906 MB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.03155, allocations: 4 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.03174, allocations: 264.3 kB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.03196, allocations: 44.42 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.03308, allocations: 0.8796 MB / 279.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.187e-05/0.03315, allocations: 123.3 kB / 280.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.03334, allocations: 79.23 kB / 280.1 MB, free: 9.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.03348, allocations: 119.3 kB / 280.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03348, allocations: 3.938 kB / 280.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of Templates: time 0.007501/0.04098, allocations: 5.24 MB / 285.5 MB, free: 4.246 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 -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.5918982373550534]