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.00179/0.00179, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.002061/0.002061, allocations: 180.9 kB / 23.71 MB, free: 4.695 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.465/1.465, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.001532/0.001532, allocations: 47.92 kB / 370.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2517, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005642/0.2573, allocations: 3.999 MB / 427.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002996/0.2603, allocations: 1.6 MB / 428.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.2605, allocations: 8 kB / 428.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.2624, allocations: 0.77 MB / 429.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.2637, allocations: 0.5364 MB / 430 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.2648, allocations: 0.5479 MB / 430.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.2655, allocations: 0.5292 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007163/0.2663, allocations: 409.8 kB / 431.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.2666, allocations: 243.1 kB / 431.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.267, allocations: 298.8 kB / 432 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-05/0.2671, allocations: 52 kB / 432.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.2676, allocations: 239.8 kB / 432.3 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2677, allocations: 123.5 kB / 432.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.268, allocations: 278.6 kB / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.269, allocations: 0.7823 MB / 433.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.269, allocations: 3.938 kB / 433.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2691, allocations: 0 / 433.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.2691, allocations: 0 / 433.5 MB, free: 4.242 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.002417/0.2715, allocations: 0.899 MB / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2715, allocations: 12.03 kB / 434.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/0.2744, allocations: 408.2 kB / 434.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.2751, allocations: 305 kB / 435.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.2751, allocations: 41.69 kB / 435.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.2752, allocations: 59.94 kB / 435.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.2765, allocations: 0.6276 MB / 435.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.2765, allocations: 7.922 kB / 435.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/0.2766, allocations: 24 kB / 435.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.2766, allocations: 16 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.2778, allocations: 0.5712 MB / 436.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.2814, allocations: 2.002 MB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2828, allocations: 477 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.2832, allocations: 172.8 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.017e-05/0.2832, allocations: 20.22 kB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.2833, allocations: 34.56 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.334e-06/0.2833, allocations: 0 / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001868/0.2851, allocations: 0.6111 MB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.2852, allocations: 55.41 kB / 439.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.2855, allocations: 269.9 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.2856, allocations: 33.7 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.2857, allocations: 248.9 kB / 440.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.2859, allocations: 158.7 kB / 440.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.2861, allocations: 90.12 kB / 440.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2862, allocations: 342.8 kB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.2867, allocations: 150.8 kB / 441.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.2871, allocations: 257.2 kB / 441.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.288, allocations: 437.8 kB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.288, allocations: 0 / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001174/0.2891, allocations: 0.5216 MB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.2892, allocations: 8 kB / 442.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.2892, allocations: 4 kB / 442.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/0.2895, allocations: 57.23 kB / 442.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.29, allocations: 103.8 kB / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.2918, allocations: 1.656 MB / 444.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.2922, allocations: 55.61 kB / 444.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.2922, allocations: 27.92 kB / 444.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005001/0.2927, allocations: 273.1 kB / 444.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004167/0.2931, allocations: 251.6 kB / 444.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007855/0.2939, allocations: 423.6 kB / 445.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.439e-06/0.2939, allocations: 4 kB / 445.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001104/0.295, allocations: 0.5052 MB / 445.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.295, allocations: 11.94 kB / 445.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2951, allocations: 4.406 kB / 445.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.2953, allocations: 56.83 kB / 445.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.2957, allocations: 95.88 kB / 445.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.2975, allocations: 1.665 MB / 447.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.2978, allocations: 39.73 kB / 447.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.2979, allocations: 23.98 kB / 447.5 MB, free: 5.547 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.000273/0.2981, allocations: 208.1 kB / 447.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.2982, allocations: 35.75 kB / 447.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.2995, allocations: 0.5044 MB / 448.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2995, allocations: 4 kB / 448.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2995, allocations: 0 / 448.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2995, allocations: 3.984 kB / 448.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.3014, allocations: 1.06 MB / 449.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3014, allocations: 0 / 449.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.3018, allocations: 79.89 kB / 449.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/0.302, allocations: 48.83 kB / 449.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.302, allocations: 8 kB / 449.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.3036, allocations: 1.661 MB / 451.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3036, allocations: 3.938 kB / 451.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.305, allocations: 0.7465 MB / 451.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.3052, allocations: 75.56 kB / 451.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.3052, allocations: 8 kB / 451.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.3055, allocations: 19.98 kB / 452 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.3056, allocations: 32.38 kB / 452 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.3056, allocations: 16 kB / 452 MB, free: 0.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002189/0.3058, allocations: 193.2 kB / 452.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3058, allocations: 4.062 kB / 452.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009173/0.3068, allocations: 239.3 kB / 452.4 MB, free: 416 kB / 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.0002444/0.307, allocations: 135.2 kB / 452.6 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.3088, allocations: 0.844 MB / 453.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3088, allocations: 4 kB / 453.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.3094, allocations: 321.8 kB / 453.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.3098, allocations: 48.52 kB / 453.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.3115, allocations: 0.8644 MB / 454.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.3119, allocations: 0.825 MB / 455.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.3123, allocations: 75.23 kB / 455.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3124, allocations: 39.42 kB / 455.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3124, allocations: 0 / 455.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01141/0.3238, allocations: 5.164 MB / 460.7 MB, free: 8.012 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/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.549284013919532]