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.0009822/0.0009822, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009581/0.0009581, allocations: 147.4 kB / 24.9 MB, free: 8.727 MB / 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 0.9519/0.9519, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.403e-06/1.403e-06, allocations: 0 / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.292e-05, allocations: 10.05 kB / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004837/0.00486, allocations: 3.87 MB / 272.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.007526, allocations: 1.584 MB / 274 MB, free: 500 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.007823, allocations: 12 kB / 274 MB, free: 488 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.009177, allocations: 0.8047 MB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009947/0.01017, allocations: 0.5244 MB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.01102, allocations: 0.5172 MB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006452/0.01167, allocations: 0.5524 MB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006591/0.01233, allocations: 474 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.01278, allocations: 347.2 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.01305, allocations: 235.3 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.01312, allocations: 48 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.0136, allocations: 231.8 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.01368, allocations: 127.5 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.01383, allocations: 175.5 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008802/0.01471, allocations: 0.5643 MB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01471, allocations: 0 / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01471, allocations: 4 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.01472, allocations: 0 / 278.5 MB, free: 11.88 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.00155/0.01627, allocations: 0.878 MB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.0163, allocations: 12.91 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.01876, allocations: 0.5665 MB / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.01909, allocations: 213.6 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.01913, allocations: 41.69 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.01921, allocations: 60.38 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/0.01975, allocations: 413.1 kB / 280.7 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.01977, allocations: 7.984 kB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.01981, allocations: 24 kB / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.01982, allocations: 16 kB / 280.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.02018, allocations: 222.3 kB / 281 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.02217, allocations: 1.465 MB / 282.4 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.02279, allocations: 375.4 kB / 282.8 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.0229, allocations: 84.75 kB / 282.9 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.02296, allocations: 19.98 kB / 282.9 MB, free: 7.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.02299, allocations: 42.56 kB / 283 MB, free: 7.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.903e-06/0.02299, allocations: 0 / 283 MB, free: 7.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006367/0.02363, allocations: 322.1 kB / 283.3 MB, free: 6.977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.02365, allocations: 59.34 kB / 283.3 MB, free: 6.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.02378, allocations: 190.3 kB / 283.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.0238, allocations: 33.64 kB / 283.5 MB, free: 6.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.02391, allocations: 256.7 kB / 283.8 MB, free: 6.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.846e-05/0.024, allocations: 154.6 kB / 284 MB, free: 6.258 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.02411, allocations: 82.16 kB / 284 MB, free: 6.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.0242, allocations: 334.8 kB / 284.4 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.02429, allocations: 54.83 kB / 284.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.02444, allocations: 169.2 kB / 284.6 MB, free: 5.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.02471, allocations: 253.7 kB / 284.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.02471, allocations: 0 / 284.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004077/0.02512, allocations: 293.9 kB / 285.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.02514, allocations: 10.97 kB / 285.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.02514, allocations: 0 / 285.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.02535, allocations: 56.75 kB / 285.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.02563, allocations: 96.02 kB / 285.3 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.02684, allocations: 1.461 MB / 286.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.02701, allocations: 43.62 kB / 286.8 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.02704, allocations: 19.98 kB / 286.8 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001493/0.02719, allocations: 133.1 kB / 286.9 MB, free: 3.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001428/0.02733, allocations: 169 kB / 287.1 MB, free: 2.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002532/0.02759, allocations: 247.8 kB / 287.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.02759, allocations: 0 / 287.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003907/0.02798, allocations: 293.8 kB / 287.6 MB, free: 2.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.02799, allocations: 8.062 kB / 287.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.02799, allocations: 4 kB / 287.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.02816, allocations: 52.81 kB / 287.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.02842, allocations: 99.83 kB / 287.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008887/0.02931, allocations: 1.445 MB / 289.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.02946, allocations: 31.78 kB / 289.3 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.02949, allocations: 19.98 kB / 289.3 MB, free: 0.5469 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.0001163/0.0296, allocations: 212.1 kB / 289.5 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.02965, allocations: 27.92 kB / 289.5 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.03007, allocations: 290.8 kB / 289.8 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.03007, allocations: 4 kB / 289.8 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.03008, allocations: 3.938 kB / 289.8 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/0.0301, allocations: 2.703 kB / 289.8 MB, free: 24.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008519/0.03095, allocations: 0.5502 MB / 290.4 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.03096, allocations: 3.719 kB / 290.4 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.03118, allocations: 76.25 kB / 290.4 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.03134, allocations: 58.12 kB / 290.5 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.03136, allocations: 9.812 kB / 290.5 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006857/0.03205, allocations: 1.441 MB / 291.9 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.03205, allocations: 0 / 291.9 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.03247, allocations: 414.2 kB / 292.3 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.48e-05/0.03254, allocations: 46.23 kB / 292.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.03257, allocations: 13.84 kB / 292.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.03268, allocations: 15.78 kB / 292.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.03274, allocations: 31.28 kB / 292.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.03276, allocations: 10.14 kB / 292.5 MB, free: 23.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.428e-05/0.03282, allocations: 49.92 kB / 292.5 MB, free: 23.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03282, allocations: 1.375 kB / 292.5 MB, free: 23.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005806/0.0334, allocations: 252.9 kB / 292.8 MB, free: 23.04 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.0001765/0.03357, allocations: 124.3 kB / 292.9 MB, free: 22.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000701/0.03427, allocations: 0.6144 MB / 293.5 MB, free: 22.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.03428, allocations: 2.219 kB / 293.5 MB, free: 22.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.03447, allocations: 252.5 kB / 293.7 MB, free: 22.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.03469, allocations: 46.97 kB / 293.8 MB, free: 22.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.03576, allocations: 0.7788 MB / 294.6 MB, free: 22.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.751e-05/0.03584, allocations: 114.4 kB / 294.7 MB, free: 22.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000193/0.03603, allocations: 69.59 kB / 294.7 MB, free: 22.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.03617, allocations: 101.5 kB / 294.8 MB, free: 22.07 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.03617, allocations: 0 / 294.8 MB, free: 22.07 MB / 266.7 MB Notification: Performance of Templates: time 0.007828/0.044, allocations: 4.913 MB / 299.8 MB, free: 21.61 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] 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","",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.556302579585463]