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.001658/0.001658, allocations: 104 kB / 21.18 MB, free: 0.6719 MB / 14.72 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.002027/0.002027, allocations: 194.4 kB / 24.46 MB, free: 4.016 MB / 14.72 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.484/1.484, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 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 0.001686/0.001686, allocations: 51.91 kB / 371.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2702, allocations: 52.18 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005895/0.2761, allocations: 3.639 MB / 427.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.2793, allocations: 1.476 MB / 428.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.2797, allocations: 12 kB / 428.9 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.2818, allocations: 0.7194 MB / 429.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.2832, allocations: 0.5072 MB / 430.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2845, allocations: 0.5128 MB / 430.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007593/0.2852, allocations: 0.537 MB / 431.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007416/0.286, allocations: 443.9 kB / 431.7 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.2864, allocations: 247 kB / 431.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.2867, allocations: 262.8 kB / 432.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.24e-05/0.2868, allocations: 55.94 kB / 432.2 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005123/0.2873, allocations: 227.8 kB / 432.4 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.2874, allocations: 131.5 kB / 432.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.2877, allocations: 215 kB / 432.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.2888, allocations: 0.7978 MB / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2888, allocations: 4 kB / 433.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2888, allocations: 0 / 433.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2889, allocations: 0 / 433.6 MB, free: 4.734 MB / 334.1 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.002213/0.2911, allocations: 0.8951 MB / 434.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2911, allocations: 8.031 kB / 434.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.2939, allocations: 400.2 kB / 434.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.2945, allocations: 307.5 kB / 435.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.2946, allocations: 45.69 kB / 435.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.2947, allocations: 67.92 kB / 435.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.296, allocations: 0.6817 MB / 436 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.296, allocations: 0 / 436 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.862e-05/0.2961, allocations: 23.98 kB / 436 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.2961, allocations: 16 kB / 436 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.2973, allocations: 0.5712 MB / 436.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.3004, allocations: 1.745 MB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3017, allocations: 464.9 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.302, allocations: 172.7 kB / 438.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.299e-05/0.3021, allocations: 11.98 kB / 438.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.3021, allocations: 46.5 kB / 439 MB, free: 15.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.715e-06/0.3021, allocations: 0 / 439 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001682/0.3038, allocations: 0.5995 MB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.3039, allocations: 59.39 kB / 439.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.3041, allocations: 195.1 kB / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.3041, allocations: 37.7 kB / 439.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3043, allocations: 260.7 kB / 440.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.3044, allocations: 159 kB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.3046, allocations: 86.19 kB / 440.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3048, allocations: 330.8 kB / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.3051, allocations: 154.8 kB / 440.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.3056, allocations: 261.2 kB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/0.3064, allocations: 433.8 kB / 441.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3064, allocations: 4 kB / 441.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001075/0.3075, allocations: 0.5181 MB / 442 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3075, allocations: 8 kB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3075, allocations: 4 kB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.3078, allocations: 56.77 kB / 442.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.3082, allocations: 103.8 kB / 442.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.31, allocations: 1.621 MB / 443.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.3103, allocations: 47.67 kB / 443.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.3103, allocations: 23.98 kB / 443.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004819/0.3108, allocations: 269.1 kB / 444.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004454/0.3113, allocations: 248.9 kB / 444.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007394/0.312, allocations: 427.7 kB / 444.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.57e-06/0.312, allocations: 7.938 kB / 444.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009914/0.313, allocations: 0.4978 MB / 445.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.313, allocations: 4 kB / 445.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.313, allocations: 4.125 kB / 445.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.3132, allocations: 60.77 kB / 445.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.3136, allocations: 103.8 kB / 445.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.3152, allocations: 1.629 MB / 447.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.3155, allocations: 43.66 kB / 447.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3155, allocations: 20 kB / 447.2 MB, free: 6.438 MB / 350.1 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.0001976/0.3157, allocations: 204.1 kB / 447.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.3158, allocations: 31.84 kB / 447.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.317, allocations: 0.504 MB / 447.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.317, allocations: 4 kB / 447.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.317, allocations: 0 / 447.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.317, allocations: 4 kB / 447.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.3187, allocations: 0.9123 MB / 448.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3187, allocations: 0 / 448.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.3191, allocations: 80.02 kB / 448.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001914/0.3193, allocations: 52.83 kB / 449 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.3193, allocations: 15.98 kB / 449 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.321, allocations: 1.626 MB / 450.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.321, allocations: 0 / 450.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.3225, allocations: 0.7426 MB / 451.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.3226, allocations: 63.72 kB / 451.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.3227, allocations: 8 kB / 451.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.3229, allocations: 19.98 kB / 451.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.323, allocations: 32.38 kB / 451.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.3231, allocations: 12 kB / 451.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.3232, allocations: 152.3 kB / 451.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3232, allocations: 0 / 451.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001032/0.3242, allocations: 251.1 kB / 451.9 MB, free: 1.559 MB / 350.1 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.0002606/0.3245, allocations: 135.3 kB / 452 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.3263, allocations: 0.8477 MB / 452.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3263, allocations: 7.938 kB / 452.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.3269, allocations: 321.9 kB / 453.2 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3273, allocations: 41.67 kB / 453.2 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.329, allocations: 0.8935 MB / 454.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.3293, allocations: 221.6 kB / 454.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3294, allocations: 35.42 kB / 454.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3294, allocations: 0 / 454.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of Templates: time 0.01247/0.3419, allocations: 7.207 MB / 461.6 MB, free: 7.758 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/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: 7.637415023054928]