Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 80.66 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 149.1 kB / 24.26 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.385e-05/4.678e-05, allocations: 6.25 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.009017/0.009064, allocations: 3.633 MB / 270.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004764/0.01383, allocations: 1.487 MB / 272.4 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000685/0.01451, allocations: 19.94 kB / 272.5 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.01755, allocations: 0.7541 MB / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.02005, allocations: 0.5088 MB / 273.7 MB, free: 304 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.02203, allocations: 0.5098 MB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.02339, allocations: 0.5485 MB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.02459, allocations: 448.1 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007657/0.02535, allocations: 355.1 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.02578, allocations: 219.4 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.0259, allocations: 52 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.02655, allocations: 235.6 kB / 276.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.02668, allocations: 127.5 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.02694, allocations: 179.5 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.02834, allocations: 0.8216 MB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.02834, allocations: 0 / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02834, allocations: 0 / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.02837, allocations: 0 / 277.2 MB, free: 12.82 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.002564/0.03093, allocations: 0.8911 MB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.03097, allocations: 8.922 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002986/0.03396, allocations: 0.5078 MB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/0.03473, allocations: 305.8 kB / 278.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.03479, allocations: 41.69 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.03493, allocations: 60.38 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.03642, allocations: 0.6859 MB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.03644, allocations: 0 / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/0.03651, allocations: 24 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.03653, allocations: 20 kB / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.03786, allocations: 0.5673 MB / 280.3 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/0.04157, allocations: 1.774 MB / 282.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.04296, allocations: 470.1 kB / 282.5 MB, free: 7.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.04338, allocations: 172.8 kB / 282.7 MB, free: 7.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.392e-05/0.04345, allocations: 19.98 kB / 282.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.04349, allocations: 34.56 kB / 282.7 MB, free: 7.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.324e-06/0.04349, allocations: 0 / 282.7 MB, free: 7.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001859/0.04535, allocations: 0.6229 MB / 283.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.04541, allocations: 55.41 kB / 283.4 MB, free: 6.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.04566, allocations: 194.2 kB / 283.6 MB, free: 6.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.0457, allocations: 37.7 kB / 283.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.04592, allocations: 260.7 kB / 283.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.0461, allocations: 159 kB / 284 MB, free: 5.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.04626, allocations: 82.14 kB / 284.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.04645, allocations: 334.8 kB / 284.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.04685, allocations: 154.8 kB / 284.6 MB, free: 5.125 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.04736, allocations: 261.2 kB / 284.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000896/0.04825, allocations: 441.7 kB / 285.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.04826, allocations: 4 kB / 285.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001305/0.04956, allocations: 0.5337 MB / 285.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.04958, allocations: 7.938 kB / 285.8 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.0496, allocations: 4 kB / 285.8 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.04999, allocations: 72.94 kB / 285.9 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.05045, allocations: 95.89 kB / 286 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.05244, allocations: 1.633 MB / 287.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.05279, allocations: 47.72 kB / 287.7 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.05283, allocations: 24 kB / 287.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006458/0.05348, allocations: 273.1 kB / 288 MB, free: 1.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004877/0.05397, allocations: 248.9 kB / 288.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008168/0.05478, allocations: 419.7 kB / 288.6 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.05479, allocations: 0 / 288.6 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001323/0.05611, allocations: 0.5286 MB / 289.2 MB, free: 280 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.05613, allocations: 8 kB / 289.2 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.05614, allocations: 4.125 kB / 289.2 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/0.05653, allocations: 77.22 kB / 289.2 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.05715, allocations: 95.83 kB / 289.3 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1293/0.1865, allocations: 1.626 MB / 291 MB, free: 30.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.1868, allocations: 37.25 kB / 291 MB, free: 30.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.1869, allocations: 19.34 kB / 291 MB, free: 30.55 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.0001418/0.187, allocations: 205.7 kB / 291.2 MB, free: 30.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/0.1871, allocations: 47.25 kB / 291.3 MB, free: 30.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.1882, allocations: 0.5037 MB / 291.8 MB, free: 30.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1882, allocations: 5.125 kB / 291.8 MB, free: 30.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1882, allocations: 1.375 kB / 291.8 MB, free: 30.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1882, allocations: 2.484 kB / 291.8 MB, free: 30.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.1897, allocations: 0.9231 MB / 292.7 MB, free: 29.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1897, allocations: 0.6562 kB / 292.7 MB, free: 29.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.1901, allocations: 81.36 kB / 292.8 MB, free: 29.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002708/0.1904, allocations: 70.44 kB / 292.9 MB, free: 29.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.1904, allocations: 12.67 kB / 292.9 MB, free: 29.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.1915, allocations: 1.631 MB / 294.5 MB, free: 28.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1915, allocations: 0.6562 kB / 294.5 MB, free: 28.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.1929, allocations: 0.7565 MB / 295.3 MB, free: 28.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1931, allocations: 62.14 kB / 295.3 MB, free: 28.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.1931, allocations: 11.67 kB / 295.3 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.1934, allocations: 27.41 kB / 295.3 MB, free: 28.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1935, allocations: 34.7 kB / 295.4 MB, free: 28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.1935, allocations: 9.609 kB / 295.4 MB, free: 28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1936, allocations: 145 kB / 295.5 MB, free: 27.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1936, allocations: 0 / 295.5 MB, free: 27.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001075/0.1947, allocations: 257 kB / 295.8 MB, free: 27.86 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.000295/0.195, allocations: 134.8 kB / 295.9 MB, free: 27.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.1967, allocations: 0.8395 MB / 296.8 MB, free: 27.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1967, allocations: 0 / 296.8 MB, free: 27.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005065/0.1972, allocations: 328.6 kB / 297.1 MB, free: 27.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.1976, allocations: 44.56 kB / 297.1 MB, free: 27.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.199, allocations: 0.8254 MB / 297.9 MB, free: 26.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1992, allocations: 219.3 kB / 298.2 MB, free: 26.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000311/0.1996, allocations: 68.02 kB / 298.2 MB, free: 26.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1997, allocations: 36.58 kB / 298.3 MB, free: 26.55 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1997, allocations: 0 / 298.3 MB, free: 26.55 MB / 266.7 MB Notification: Performance of Templates: time 0.009873/0.2095, allocations: 4.429 MB / 302.7 MB, free: 25.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.504154383088462]