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.0008483/0.0008483, 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.0008741/0.0008741, allocations: 166.9 kB / 24.91 MB, free: 8.211 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.853/0.853, allocations: 177 MB / 205.2 MB, free: 5.477 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.042e-06/1.042e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.135e-05, allocations: 6.312 kB / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003226/0.003237, allocations: 3.86 MB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.005099, allocations: 1.627 MB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.005245, allocations: 12 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.006249, allocations: 0.8164 MB / 279.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005267/0.006775, allocations: 381.7 kB / 280.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.007418, allocations: 0.6497 MB / 280.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.00781, allocations: 0.5524 MB / 281.3 MB, free: 9.324 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000423/0.008233, allocations: 478 kB / 281.7 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.008506, allocations: 355.1 kB / 282.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.008683, allocations: 215.4 kB / 282.3 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.008727, allocations: 52 kB / 282.3 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.008975, allocations: 243.6 kB / 282.6 MB, free: 8.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.009035, allocations: 123.5 kB / 282.7 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.009139, allocations: 175.5 kB / 282.9 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.009587, allocations: 0.5722 MB / 283.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.009588, allocations: 0 / 283.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.009589, allocations: 4 kB / 283.4 MB, free: 7.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.009592, allocations: 0 / 283.4 MB, free: 7.133 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.00105/0.01064, allocations: 0.8935 MB / 284.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.583e-05/0.01067, allocations: 11.98 kB / 284.3 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.01208, allocations: 0.547 MB / 284.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.01229, allocations: 205.7 kB / 285.1 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.01232, allocations: 45.69 kB / 285.1 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.01238, allocations: 68.3 kB / 285.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.01275, allocations: 413.1 kB / 285.6 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.01277, allocations: 3.953 kB / 285.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.0128, allocations: 28 kB / 285.6 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.01281, allocations: 12 kB / 285.7 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.01306, allocations: 234.3 kB / 285.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.01455, allocations: 1.466 MB / 287.3 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.01501, allocations: 375.2 kB / 287.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.01509, allocations: 76.83 kB / 287.8 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.01514, allocations: 23.98 kB / 287.8 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.01516, allocations: 42.5 kB / 287.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.563e-06/0.01516, allocations: 0 / 287.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0004777/0.01564, allocations: 327.2 kB / 288.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.01566, allocations: 59.34 kB / 288.2 MB, free: 2.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/0.01575, allocations: 191.8 kB / 288.4 MB, free: 1.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.01577, allocations: 33.7 kB / 288.5 MB, free: 1.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.01585, allocations: 264.6 kB / 288.7 MB, free: 1.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.01592, allocations: 154.6 kB / 288.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.016, allocations: 86.11 kB / 288.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.01607, allocations: 338.8 kB / 289.3 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.01613, allocations: 54.83 kB / 289.3 MB, free: 1.008 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.01623, allocations: 157.3 kB / 289.5 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.01643, allocations: 261.7 kB / 289.7 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01643, allocations: 3.938 kB / 289.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002802/0.01671, allocations: 290.6 kB / 290 MB, free: 220 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.01672, allocations: 4 kB / 290 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01672, allocations: 4 kB / 290 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.01688, allocations: 65.22 kB / 290.1 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.01706, allocations: 91.83 kB / 290.2 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08549/0.1025, allocations: 1.436 MB / 291.6 MB, free: 19.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1028, allocations: 43.94 kB / 291.7 MB, free: 19.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1028, allocations: 14.83 kB / 291.7 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001354/0.1029, allocations: 137.4 kB / 291.8 MB, free: 19.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.955e-05/0.103, allocations: 158.3 kB / 292 MB, free: 19.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001886/0.1032, allocations: 252.3 kB / 292.2 MB, free: 19.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.1032, allocations: 1.594 kB / 292.2 MB, free: 19.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0002937/0.1035, allocations: 290.3 kB / 292.5 MB, free: 19.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.1035, allocations: 7.281 kB / 292.5 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1035, allocations: 4.219 kB / 292.5 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.1036, allocations: 58.78 kB / 292.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.1038, allocations: 93.22 kB / 292.7 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004822/0.1043, allocations: 1.449 MB / 294.1 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1044, allocations: 38.92 kB / 294.2 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1044, allocations: 14.45 kB / 294.2 MB, free: 18.15 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 7.712e-05/0.1045, allocations: 210.4 kB / 294.4 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.1045, allocations: 33.14 kB / 294.4 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.1049, allocations: 289 kB / 294.7 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1049, allocations: 4.719 kB / 294.7 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1049, allocations: 1.062 kB / 294.7 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1049, allocations: 3.938 kB / 294.7 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.1054, allocations: 0.5625 MB / 295.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1054, allocations: 1.844 kB / 295.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.1056, allocations: 72.28 kB / 295.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.1057, allocations: 53.56 kB / 295.4 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1057, allocations: 8.516 kB / 295.4 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004531/0.1062, allocations: 1.446 MB / 296.8 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1062, allocations: 3.469 kB / 296.8 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.1065, allocations: 414.3 kB / 297.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.1066, allocations: 40.38 kB / 297.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1066, allocations: 5.734 kB / 297.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.1067, allocations: 24.17 kB / 297.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.1067, allocations: 31.72 kB / 297.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1067, allocations: 9.5 kB / 297.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.848e-05/0.1068, allocations: 48.44 kB / 297.4 MB, free: 16.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1068, allocations: 2.875 kB / 297.4 MB, free: 16.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004824/0.1073, allocations: 263.8 kB / 297.7 MB, free: 16.23 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.0001451/0.1074, allocations: 119 kB / 297.8 MB, free: 16.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005101/0.1079, allocations: 0.6168 MB / 298.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1079, allocations: 2.094 kB / 298.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.1081, allocations: 251.9 kB / 298.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.1083, allocations: 39.77 kB / 298.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.1092, allocations: 0.7742 MB / 299.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.14e-05/0.1092, allocations: 115 kB / 299.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.1094, allocations: 65.08 kB / 299.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1095, allocations: 105.9 kB / 299.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1095, allocations: 0 / 299.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Templates: time 0.006741/0.1162, allocations: 5.005 MB / 304.7 MB, free: 14.67 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.415704962797463]