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.001504/0.001504, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001695/0.001695, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.542/1.542, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.232e-06/1.232e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.324e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005709/0.005732, allocations: 3.654 MB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.008741, allocations: 1.534 MB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.008957, allocations: 15.94 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.01096, allocations: 0.758 MB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009677/0.01193, allocations: 373.8 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.01333, allocations: 0.6382 MB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007376/0.01407, allocations: 0.5522 MB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008253/0.01489, allocations: 456.1 kB / 280.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005855/0.01548, allocations: 343.2 kB / 280.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.01584, allocations: 223.4 kB / 280.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.683e-05/0.01593, allocations: 52 kB / 280.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.01642, allocations: 239.7 kB / 281 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.01655, allocations: 123.6 kB / 281.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.01677, allocations: 175.5 kB / 281.3 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.01795, allocations: 0.8448 MB / 282.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01795, allocations: 4 kB / 282.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01795, allocations: 0 / 282.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.01796, allocations: 0 / 282.1 MB, free: 7.812 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.002275/0.02024, allocations: 0.8833 MB / 283 MB, free: 6.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.02028, allocations: 11.98 kB / 283 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/0.02317, allocations: 0.4961 MB / 283.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.02381, allocations: 306.8 kB / 283.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.02386, allocations: 41.69 kB / 283.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.02397, allocations: 60.33 kB / 283.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.02527, allocations: 0.6859 MB / 284.6 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.0253, allocations: 7.938 kB / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.02536, allocations: 31.98 kB / 284.7 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.02538, allocations: 15.94 kB / 284.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.02662, allocations: 0.5712 MB / 285.2 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.02997, allocations: 1.767 MB / 287 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.03128, allocations: 475.4 kB / 287.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.03169, allocations: 172.7 kB / 287.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.069e-05/0.03178, allocations: 31.97 kB / 287.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.03181, allocations: 38.56 kB / 287.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.714e-06/0.03181, allocations: 0 / 287.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001773/0.03359, allocations: 0.6204 MB / 288.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.03364, allocations: 59.41 kB / 288.4 MB, free: 1.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.0339, allocations: 195.7 kB / 288.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.03394, allocations: 33.7 kB / 288.6 MB, free: 1.102 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.03414, allocations: 268.6 kB / 288.9 MB, free: 0.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.03428, allocations: 146.7 kB / 289 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.03443, allocations: 86.17 kB / 289.1 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.03461, allocations: 334.8 kB / 289.4 MB, free: 268 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.03499, allocations: 154.8 kB / 289.6 MB, free: 108 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1004/0.1354, allocations: 254.3 kB / 289.8 MB, free: 27.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/0.1361, allocations: 432.2 kB / 290.3 MB, free: 27.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1362, allocations: 0 / 290.3 MB, free: 27.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001096/0.1372, allocations: 0.543 MB / 290.8 MB, free: 27.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1373, allocations: 10.44 kB / 290.8 MB, free: 27.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1373, allocations: 3.781 kB / 290.8 MB, free: 27.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.1376, allocations: 68.72 kB / 290.9 MB, free: 27.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.138, allocations: 100.9 kB / 291 MB, free: 27.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.1392, allocations: 1.63 MB / 292.6 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.1395, allocations: 50.83 kB / 292.7 MB, free: 26.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.1395, allocations: 21.33 kB / 292.7 MB, free: 26.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004111/0.14, allocations: 270.4 kB / 292.9 MB, free: 26.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003644/0.1403, allocations: 248.8 kB / 293.2 MB, free: 26.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006979/0.141, allocations: 426.4 kB / 293.6 MB, free: 25.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.141, allocations: 1.156 kB / 293.6 MB, free: 25.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009632/0.142, allocations: 0.5247 MB / 294.1 MB, free: 25.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.142, allocations: 5.469 kB / 294.1 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.142, allocations: 3.281 kB / 294.1 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.1422, allocations: 74 kB / 294.2 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.1426, allocations: 100.1 kB / 294.3 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.1437, allocations: 1.634 MB / 295.9 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.144, allocations: 44.66 kB / 296 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.144, allocations: 21.34 kB / 296 MB, free: 23.98 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 0.000127/0.1441, allocations: 203.6 kB / 296.2 MB, free: 23.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.1442, allocations: 49.28 kB / 296.3 MB, free: 23.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.1453, allocations: 0.4975 MB / 296.8 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1453, allocations: 4.812 kB / 296.8 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1453, allocations: 6.797 kB / 296.8 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1453, allocations: 2.438 kB / 296.8 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.1468, allocations: 0.9195 MB / 297.7 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1468, allocations: 1 kB / 297.7 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.1472, allocations: 79.38 kB / 297.8 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.1474, allocations: 63.78 kB / 297.8 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.1474, allocations: 14.25 kB / 297.8 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1485, allocations: 1.631 MB / 299.5 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1485, allocations: 0.7969 kB / 299.5 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1498, allocations: 0.7622 MB / 300.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1499, allocations: 59.62 kB / 300.3 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.1499, allocations: 10.72 kB / 300.3 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1502, allocations: 23.84 kB / 300.3 MB, free: 21.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.349e-05/0.1503, allocations: 37.39 kB / 300.4 MB, free: 21.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.1503, allocations: 14.64 kB / 300.4 MB, free: 21.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1504, allocations: 135.7 kB / 300.5 MB, free: 20.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1504, allocations: 3.938 kB / 300.5 MB, free: 20.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008274/0.1513, allocations: 261.8 kB / 300.8 MB, free: 20.9 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.000215/0.1515, allocations: 139.2 kB / 300.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.1529, allocations: 0.8398 MB / 301.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1529, allocations: 4.062 kB / 301.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.1534, allocations: 323.4 kB / 302.1 MB, free: 20.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1538, allocations: 41.53 kB / 302.1 MB, free: 20.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.1551, allocations: 0.8264 MB / 302.9 MB, free: 19.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.1553, allocations: 220.8 kB / 303.1 MB, free: 19.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002768/0.1556, allocations: 70.5 kB / 303.2 MB, free: 19.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.1557, allocations: 37.94 kB / 303.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1557, allocations: 0 / 303.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of Templates: time 0.009057/0.1648, allocations: 4.505 MB / 307.8 MB, free: 18.38 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.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.591582378954627]