Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 166.8 kB / 24.82 MB, free: 9.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.021/1.021, allocations: 177 MB / 205.1 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.541e-05, allocations: 2.312 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005121/0.005137, allocations: 3.845 MB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.007977, allocations: 1.573 MB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.008254, allocations: 12 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009561/0.00921, allocations: 0.7892 MB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006507/0.009861, allocations: 381.7 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.0106, allocations: 0.6452 MB / 280.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000478/0.01107, allocations: 0.5368 MB / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.01153, allocations: 452.1 kB / 281.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.01185, allocations: 355.1 kB / 281.9 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.01203, allocations: 215.4 kB / 282.1 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.01208, allocations: 52 kB / 282.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.01241, allocations: 247.5 kB / 282.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.01247, allocations: 119.5 kB / 282.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.01257, allocations: 179.5 kB / 282.7 MB, free: 7.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.01307, allocations: 0.5644 MB / 283.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.01308, allocations: 0 / 283.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01308, allocations: 4 kB / 283.2 MB, free: 7.242 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.01308, allocations: 0 / 283.2 MB, free: 7.242 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.001157/0.01424, allocations: 0.9987 MB / 284.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.01427, allocations: 15.98 kB / 284.3 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.01574, allocations: 0.4921 MB / 284.8 MB, free: 5.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.01602, allocations: 292.3 kB / 285 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.01605, allocations: 45.69 kB / 285.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.01612, allocations: 60.38 kB / 285.1 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.01655, allocations: 405.1 kB / 285.5 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.01657, allocations: 4 kB / 285.5 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.0166, allocations: 27.98 kB / 285.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.01662, allocations: 16 kB / 285.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.01693, allocations: 270.1 kB / 285.8 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.01869, allocations: 1.793 MB / 287.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.01925, allocations: 416.2 kB / 288 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.01936, allocations: 95.62 kB / 288.1 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.578e-05/0.01942, allocations: 27.97 kB / 288.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.01945, allocations: 49.31 kB / 288.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.502e-06/0.01946, allocations: 0 / 288.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006526/0.02011, allocations: 397.9 kB / 288.6 MB, free: 1.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.02014, allocations: 59.36 kB / 288.7 MB, free: 1.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.02029, allocations: 251 kB / 288.9 MB, free: 1.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.02031, allocations: 33.7 kB / 288.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.02044, allocations: 311.4 kB / 289.2 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.668e-05/0.02053, allocations: 158.6 kB / 289.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.02063, allocations: 99.75 kB / 289.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.02079, allocations: 0.5157 MB / 290 MB, free: 192 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.02088, allocations: 65.64 kB / 290.1 MB, free: 124 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.115/0.1358, allocations: 204.4 kB / 290.3 MB, free: 20.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.1361, allocations: 302.7 kB / 290.6 MB, free: 20.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1361, allocations: 1.312 kB / 290.6 MB, free: 20.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004978/0.1366, allocations: 372.2 kB / 290.9 MB, free: 20.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1367, allocations: 12.09 kB / 290.9 MB, free: 20.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1367, allocations: 2.625 kB / 291 MB, free: 20.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.1369, allocations: 64.52 kB / 291 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.1371, allocations: 96.17 kB / 291.1 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000862/0.138, allocations: 2.106 MB / 293.2 MB, free: 18.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.1381, allocations: 45.62 kB / 293.3 MB, free: 18.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1382, allocations: 16.73 kB / 293.3 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001638/0.1383, allocations: 194 kB / 293.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001419/0.1385, allocations: 209.2 kB / 293.7 MB, free: 18.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002472/0.1387, allocations: 304.5 kB / 294 MB, free: 18.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.1387, allocations: 1.875 kB / 294 MB, free: 18.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004532/0.1392, allocations: 362.3 kB / 294.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1392, allocations: 6.75 kB / 294.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1392, allocations: 6.469 kB / 294.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.1393, allocations: 66.45 kB / 294.4 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.1395, allocations: 93.5 kB / 294.5 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007011/0.1403, allocations: 2.105 MB / 296.6 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1404, allocations: 40.8 kB / 296.6 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.1404, allocations: 20.27 kB / 296.7 MB, free: 16.1 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 9.792e-05/0.1405, allocations: 297.8 kB / 296.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.1406, allocations: 39.36 kB / 297 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.141, allocations: 357.6 kB / 297.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.141, allocations: 3.875 kB / 297.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.141, allocations: 1.312 kB / 297.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.141, allocations: 7.781 kB / 297.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.1417, allocations: 0.7602 MB / 298.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1417, allocations: 4.531 kB / 298.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.1419, allocations: 75.28 kB / 298.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.142, allocations: 59.77 kB / 298.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.142, allocations: 9.625 kB / 298.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006582/0.1427, allocations: 2.107 MB / 300.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1427, allocations: 0 / 300.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.1432, allocations: 0.5214 MB / 300.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.1433, allocations: 66.97 kB / 300.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1433, allocations: 9.484 kB / 301 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1434, allocations: 14.41 kB / 301 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.1435, allocations: 37.91 kB / 301 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1435, allocations: 11.34 kB / 301 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.672e-05/0.1436, allocations: 163 kB / 301.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1436, allocations: 0 / 301.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005999/0.1442, allocations: 264 kB / 301.4 MB, free: 13.11 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 (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.0001615/0.1443, allocations: 139.5 kB / 301.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006671/0.145, allocations: 0.7712 MB / 302.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.145, allocations: 0 / 302.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.1452, allocations: 326.5 kB / 302.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1454, allocations: 46.03 kB / 302.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1465, allocations: 0.7715 MB / 303.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.602e-05/0.1466, allocations: 115.4 kB / 303.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.1468, allocations: 69.81 kB / 303.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1469, allocations: 123.9 kB / 303.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1469, allocations: 1.031 kB / 303.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Templates: time 0.007519/0.1544, allocations: 5.036 MB / 308.8 MB, free: 11.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8282547499984503]