Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005182/0.005182, allocations: 158.6 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.864/0.864, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.538e-05, allocations: 8.672 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003943/0.003978, allocations: 3.662 MB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.00622, allocations: 1.526 MB / 331 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.006444, allocations: 15.94 kB / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.007536, allocations: 0.7539 MB / 331.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.008281, allocations: 381.7 kB / 332.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009609/0.009242, allocations: 0.6372 MB / 332.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.009787, allocations: 0.5602 MB / 333.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006054/0.01039, allocations: 444.8 kB / 333.8 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.01083, allocations: 355.1 kB / 334.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.01107, allocations: 219.4 kB / 334.4 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.536e-05/0.01114, allocations: 52 kB / 334.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.01162, allocations: 243.6 kB / 334.6 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.01169, allocations: 127.6 kB / 334.8 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.01211, allocations: 179.5 kB / 334.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.01286, allocations: 0.8295 MB / 335.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01287, allocations: 0 / 335.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.01287, allocations: 4 kB / 335.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.01288, allocations: 4 kB / 335.8 MB, free: 5.316 MB / 298.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.001398/0.01428, allocations: 0.8833 MB / 336.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01432, allocations: 12.03 kB / 336.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.01567, allocations: 392.2 kB / 337.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.01621, allocations: 302.8 kB / 337.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.01625, allocations: 45.69 kB / 337.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.01631, allocations: 56.38 kB / 337.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.01711, allocations: 0.682 MB / 338.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.01713, allocations: 4 kB / 338.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.01717, allocations: 28 kB / 338.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.01718, allocations: 12 kB / 338.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/0.01789, allocations: 0.5751 MB / 338.8 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.02001, allocations: 1.755 MB / 340.5 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.02079, allocations: 481.2 kB / 341 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.02101, allocations: 176.7 kB / 341.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.212e-05/0.02108, allocations: 15.98 kB / 341.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.02111, allocations: 42.5 kB / 341.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 2.635e-06/0.02111, allocations: 0 / 341.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001063/0.02217, allocations: 0.5995 MB / 341.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.02221, allocations: 59.39 kB / 341.9 MB, free: 15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.02265, allocations: 200.4 kB / 342.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.02268, allocations: 33.7 kB / 342.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.02279, allocations: 264.6 kB / 342.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.689e-05/0.02287, allocations: 150.7 kB / 342.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.02297, allocations: 90.12 kB / 342.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.02306, allocations: 338.8 kB / 342.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.02327, allocations: 154.8 kB / 343.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.02351, allocations: 253.3 kB / 343.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.02399, allocations: 441.7 kB / 343.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.02399, allocations: 0 / 343.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006334/0.02462, allocations: 0.5217 MB / 344.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.02464, allocations: 4 kB / 344.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.02465, allocations: 4 kB / 344.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.02484, allocations: 57.23 kB / 344.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.02506, allocations: 103.8 kB / 344.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.02616, allocations: 1.617 MB / 346.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.02632, allocations: 51.67 kB / 346.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.02635, allocations: 23.98 kB / 346.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000308/0.02666, allocations: 273.1 kB / 346.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002332/0.02689, allocations: 244.9 kB / 346.6 MB, free: 9.949 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004359/0.02733, allocations: 427.6 kB / 347.1 MB, free: 9.488 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.02733, allocations: 3.938 kB / 347.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005879/0.02792, allocations: 0.5052 MB / 347.6 MB, free: 8.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.02793, allocations: 8 kB / 347.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.02793, allocations: 4 kB / 347.6 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.02805, allocations: 65.22 kB / 347.6 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.02823, allocations: 95.83 kB / 347.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.02931, allocations: 1.619 MB / 349.3 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.02945, allocations: 35.73 kB / 349.4 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.02947, allocations: 23.98 kB / 349.4 MB, free: 7.023 MB / 314.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.0001375/0.02961, allocations: 220.1 kB / 349.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.02965, allocations: 23.86 kB / 349.6 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/0.0303, allocations: 0.4977 MB / 350.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.0303, allocations: 8 kB / 350.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.03031, allocations: 4.125 kB / 350.2 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.03031, allocations: 3.984 kB / 350.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009689/0.03128, allocations: 0.9217 MB / 351.1 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.03128, allocations: 3.938 kB / 351.1 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.03146, allocations: 79.89 kB / 351.2 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.03158, allocations: 56.69 kB / 351.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.03159, allocations: 12 kB / 351.2 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008699/0.03246, allocations: 1.629 MB / 352.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.03247, allocations: 3.938 kB / 352.9 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.03326, allocations: 0.7407 MB / 353.6 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.03334, allocations: 63.73 kB / 353.7 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.03336, allocations: 8 kB / 353.7 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.03348, allocations: 24.11 kB / 353.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.03356, allocations: 36.47 kB / 353.7 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.03358, allocations: 11.98 kB / 353.7 MB, free: 2.504 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.03368, allocations: 139.1 kB / 353.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03368, allocations: 0 / 353.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000794/0.03448, allocations: 263.1 kB / 354.1 MB, free: 2.109 MB / 314.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.0003387/0.03482, allocations: 138.6 kB / 354.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.03598, allocations: 0.8457 MB / 355.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03598, allocations: 0 / 355.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.03629, allocations: 321.4 kB / 355.4 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.03658, allocations: 39.92 kB / 355.5 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.03786, allocations: 0.8371 MB / 356.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.038, allocations: 221.8 kB / 356.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.03809, allocations: 48.47 kB / 356.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.03809, allocations: 0 / 356.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of Templates: time 0.007662/0.04575, allocations: 7.398 MB / 364 MB, free: 8.172 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.448135443031788]