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.0008874/0.0008874, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009674/0.0009674, allocations: 160.2 kB / 24.91 MB, free: 8.262 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 0.9493/0.9493, allocations: 177 MB / 205.2 MB, free: 5.453 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.573e-06/1.573e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.427e-05, allocations: 6.25 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004073/0.004097, allocations: 3.893 MB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.006365, allocations: 1.631 MB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.006558, allocations: 12 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.007606, allocations: 0.8164 MB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006472/0.008253, allocations: 369.8 kB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.00902, allocations: 0.6497 MB / 280.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007515/0.009771, allocations: 0.5446 MB / 281.3 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.0103, allocations: 478 kB / 281.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.01065, allocations: 355.1 kB / 282.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.01086, allocations: 223.4 kB / 282.4 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.0109, allocations: 51.94 kB / 282.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.0113, allocations: 247.6 kB / 282.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.01136, allocations: 123.5 kB / 282.8 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.01147, allocations: 183.5 kB / 282.9 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.01202, allocations: 0.5683 MB / 283.5 MB, free: 7.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01203, allocations: 3.984 kB / 283.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01203, allocations: 0 / 283.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.01204, allocations: 0 / 283.5 MB, free: 7.031 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.001219/0.01326, allocations: 0.8819 MB / 284.4 MB, free: 6.125 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.01329, allocations: 15.98 kB / 284.4 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.01492, allocations: 0.5431 MB / 285 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.01521, allocations: 213.6 kB / 285.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.01524, allocations: 45.69 kB / 285.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.01529, allocations: 60.38 kB / 285.3 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.01572, allocations: 413.1 kB / 285.7 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.01573, allocations: 7.953 kB / 285.7 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.01576, allocations: 24 kB / 285.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01577, allocations: 19.94 kB / 285.7 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.01604, allocations: 226.3 kB / 285.9 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.01761, allocations: 1.473 MB / 287.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.01811, allocations: 371.3 kB / 287.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.0182, allocations: 76.83 kB / 287.9 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/0.01825, allocations: 27.97 kB / 287.9 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.01828, allocations: 42.55 kB / 287.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.814e-06/0.01828, allocations: 4 kB / 287.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0005072/0.01879, allocations: 315.3 kB / 288.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.01881, allocations: 59.34 kB / 288.3 MB, free: 2.059 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.01921, allocations: 191.8 kB / 288.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.01923, allocations: 37.64 kB / 288.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.01933, allocations: 264.6 kB / 288.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.949e-05/0.01941, allocations: 150.7 kB / 288.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.01949, allocations: 86.09 kB / 289 MB, free: 1.312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.34e-05/0.01958, allocations: 338.8 kB / 289.3 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.01965, allocations: 54.83 kB / 289.4 MB, free: 0.918 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01976, allocations: 157.3 kB / 289.6 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.01998, allocations: 265.7 kB / 289.8 MB, free: 432 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01998, allocations: 0 / 289.8 MB, free: 432 kB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003121/0.02029, allocations: 289.6 kB / 290.1 MB, free: 132 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.02031, allocations: 8.406 kB / 290.1 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.02031, allocations: 8 kB / 290.1 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.02049, allocations: 60.8 kB / 290.2 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1089/0.1294, allocations: 96.84 kB / 290.3 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000844/0.1303, allocations: 1.442 MB / 291.7 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.1305, allocations: 48.31 kB / 291.8 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.1305, allocations: 15.47 kB / 291.8 MB, free: 19.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001865/0.1307, allocations: 135.9 kB / 291.9 MB, free: 19.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001378/0.1308, allocations: 159 kB / 292.1 MB, free: 19.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002723/0.1311, allocations: 251.4 kB / 292.3 MB, free: 19.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.1311, allocations: 1.062 kB / 292.3 MB, free: 19.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003711/0.1315, allocations: 293.4 kB / 292.6 MB, free: 19.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1315, allocations: 8.438 kB / 292.6 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1315, allocations: 3.656 kB / 292.6 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.1317, allocations: 63.05 kB / 292.7 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1319, allocations: 100.3 kB / 292.8 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006227/0.1325, allocations: 1.436 MB / 294.2 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1326, allocations: 38.58 kB / 294.2 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1326, allocations: 15.53 kB / 294.2 MB, free: 18.19 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.909e-05/0.1327, allocations: 206.5 kB / 294.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.1328, allocations: 33.83 kB / 294.5 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.1332, allocations: 291.3 kB / 294.8 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1332, allocations: 6.109 kB / 294.8 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1332, allocations: 0 / 294.8 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1332, allocations: 5.922 kB / 294.8 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.1339, allocations: 0.571 MB / 295.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1339, allocations: 0 / 295.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.1341, allocations: 77.77 kB / 295.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001371/0.1342, allocations: 50.19 kB / 295.5 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.1342, allocations: 11.2 kB / 295.5 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006352/0.1349, allocations: 1.444 MB / 296.9 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1349, allocations: 0 / 296.9 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.1353, allocations: 416.9 kB / 297.3 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.1354, allocations: 37.5 kB / 297.4 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1354, allocations: 10.34 kB / 297.4 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1355, allocations: 18.03 kB / 297.4 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.1356, allocations: 30.83 kB / 297.4 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1356, allocations: 10.06 kB / 297.4 MB, free: 16.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.415e-05/0.1356, allocations: 54.52 kB / 297.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1356, allocations: 0 / 297.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006272/0.1363, allocations: 257.4 kB / 297.7 MB, free: 16.26 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.0001899/0.1365, allocations: 126.3 kB / 297.9 MB, free: 16.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.1372, allocations: 0.6196 MB / 298.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.1372, allocations: 1.125 kB / 298.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.1374, allocations: 254.5 kB / 298.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.1376, allocations: 40.88 kB / 298.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1388, allocations: 0.7671 MB / 299.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.1389, allocations: 115 kB / 299.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.1391, allocations: 68.69 kB / 299.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.1393, allocations: 106.1 kB / 299.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1393, allocations: 0 / 299.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of Templates: time 0.008757/0.148, allocations: 5.007 MB / 304.8 MB, free: 14.73 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 -s gbode -gbm=radauIIA3 -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.60711999097839]