Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001322/0.001322, allocations: 113.1 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.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.001577/0.001577, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.627/1.627, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 51.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 53.36 MB / 431.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005644/0.2954, allocations: 3.759 MB / 434.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.2984, allocations: 1.507 MB / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.2986, allocations: 12 kB / 436.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.3005, allocations: 0.7658 MB / 437.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.3018, allocations: 386.1 kB / 437.6 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.303, allocations: 0.5511 MB / 438.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007113/0.3037, allocations: 461.9 kB / 438.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006309/0.3043, allocations: 366 kB / 438.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.3047, allocations: 211.2 kB / 439.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.305, allocations: 267 kB / 439.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.3051, allocations: 40 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.3056, allocations: 219.8 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.3057, allocations: 103.6 kB / 439.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.3059, allocations: 234.8 kB / 440 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009779/0.3069, allocations: 0.6927 MB / 440.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3069, allocations: 0 / 440.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3069, allocations: 0 / 440.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.3069, allocations: 0 / 440.7 MB, free: 13.31 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002175/0.3091, allocations: 0.8407 MB / 441.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3091, allocations: 12.03 kB / 441.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.3093, allocations: 99.95 kB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/0.3126, allocations: 472.2 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.3132, allocations: 249.8 kB / 442.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.809e-05/0.3133, allocations: 45.67 kB / 442.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.3134, allocations: 60.33 kB / 442.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3144, allocations: 0.5257 MB / 442.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.3145, allocations: 4 kB / 442.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.3145, allocations: 20 kB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.3145, allocations: 12 kB / 443 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.3156, allocations: 0.5712 MB / 443.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.3187, allocations: 1.725 MB / 445.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.3203, allocations: 0.5707 MB / 445.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.3206, allocations: 190 kB / 446 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.951e-05/0.3207, allocations: 20.41 kB / 446.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.3208, allocations: 39 kB / 446.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.116e-06/0.3208, allocations: 0 / 446.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002066/0.3228, allocations: 0.7143 MB / 446.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.3229, allocations: 55.84 kB / 446.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.3231, allocations: 190.1 kB / 447 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.3232, allocations: 41.7 kB / 447.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3234, allocations: 225 kB / 447.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.3235, allocations: 170.5 kB / 447.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.3236, allocations: 82.19 kB / 447.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3238, allocations: 334.8 kB / 447.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.3241, allocations: 152.9 kB / 448 MB, free: 5.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.3245, allocations: 232.2 kB / 448.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.3252, allocations: 395.4 kB / 448.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3252, allocations: 4 kB / 448.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001075/0.3263, allocations: 0.5434 MB / 449.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.3263, allocations: 4 kB / 449.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3263, allocations: 4 kB / 449.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.3267, allocations: 92.86 kB / 449.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.3271, allocations: 91.89 kB / 449.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.3295, allocations: 1.93 MB / 451.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.3298, allocations: 47.66 kB / 451.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.3298, allocations: 28 kB / 451.4 MB, free: 2.188 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000272/0.3301, allocations: 169.7 kB / 451.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.3301, allocations: 27.81 kB / 451.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.3313, allocations: 0.5317 MB / 452.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3313, allocations: 4 kB / 452.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3313, allocations: 8 kB / 452.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.3313, allocations: 7.922 kB / 452.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.3331, allocations: 1.103 MB / 453.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3331, allocations: 0 / 453.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.3334, allocations: 79.89 kB / 453.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002824/0.3337, allocations: 84.81 kB / 453.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.3337, allocations: 11.98 kB / 453.4 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.3358, allocations: 1.938 MB / 455.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3358, allocations: 0 / 455.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.3373, allocations: 0.7972 MB / 456.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.3373, allocations: 35.75 kB / 456.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.3374, allocations: 8 kB / 456.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3376, allocations: 23.92 kB / 456.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.3377, allocations: 36.31 kB / 456.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.3377, allocations: 15.98 kB / 456.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.3378, allocations: 132.2 kB / 456.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3378, allocations: 4.062 kB / 456.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006325/0.3385, allocations: 151.7 kB / 456.5 MB, free: 12.82 MB / 366.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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001915/0.3404, allocations: 1.376 MB / 457.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.3416, allocations: 0.5385 MB / 458.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3416, allocations: 448 / 458.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.3422, allocations: 361 kB / 458.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3425, allocations: 31.98 kB / 458.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.3477, allocations: 3.413 MB / 462.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.3482, allocations: 0.8084 MB / 463.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.3484, allocations: 46.95 kB / 463.1 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.3486, allocations: 139.4 kB / 463.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3486, allocations: 0 / 463.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.3897, allocations: 8.123 MB / 471.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.11, allocations: 14.52 kB / 471.4 MB, free: 13.92 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inductor.pin_p.reference.gamma in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.843698215998302]