Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001557, allocations: 214 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 63.89 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3018, allocations: 53.41 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005428/0.3072, allocations: 3.747 MB / 434.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.3099, allocations: 1.518 MB / 436.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.3101, allocations: 12 kB / 436.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.3118, allocations: 0.754 MB / 437.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008836/0.3127, allocations: 390 kB / 437.6 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3138, allocations: 0.5595 MB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005392/0.3143, allocations: 466 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005867/0.3149, allocations: 362.5 kB / 439 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/0.3153, allocations: 219.2 kB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.3156, allocations: 267 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.3157, allocations: 40 kB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.3161, allocations: 211.8 kB / 439.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.3162, allocations: 103.6 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.3164, allocations: 238.8 kB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008567/0.3172, allocations: 0.6849 MB / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3172, allocations: 0 / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3173, allocations: 3.938 kB / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3173, allocations: 0 / 440.7 MB, free: 13.11 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.002055/0.3193, allocations: 0.8408 MB / 441.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3194, allocations: 15.97 kB / 441.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.3195, allocations: 95.97 kB / 441.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.3229, allocations: 476.1 kB / 442.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.3234, allocations: 249.9 kB / 442.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.3235, allocations: 37.69 kB / 442.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/0.3236, allocations: 60.33 kB / 442.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009711/0.3245, allocations: 0.5257 MB / 443 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.3245, allocations: 0 / 443 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.3246, allocations: 20 kB / 443 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3246, allocations: 12 kB / 443 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3256, allocations: 0.5751 MB / 443.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00288/0.3285, allocations: 1.725 MB / 445.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.3301, allocations: 0.5741 MB / 445.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.3304, allocations: 186.1 kB / 446.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.3305, allocations: 24.39 kB / 446.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3305, allocations: 39 kB / 446.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.797e-06/0.3305, allocations: 4 kB / 446.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001986/0.3325, allocations: 0.7103 MB / 446.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.3326, allocations: 59.84 kB / 446.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3328, allocations: 183 kB / 447.1 MB, free: 6.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.3328, allocations: 37.7 kB / 447.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.333, allocations: 225 kB / 447.3 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3331, allocations: 174.5 kB / 447.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.3333, allocations: 82.17 kB / 447.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3335, allocations: 334.8 kB / 447.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.3338, allocations: 156.9 kB / 448.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.3341, allocations: 224.2 kB / 448.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007249/0.3349, allocations: 395.4 kB / 448.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3349, allocations: 4 kB / 448.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001083/0.336, allocations: 0.5394 MB / 449.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.336, allocations: 4 kB / 449.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.336, allocations: 4 kB / 449.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.3364, allocations: 89.02 kB / 449.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.3368, allocations: 95.83 kB / 449.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.3392, allocations: 1.938 MB / 451.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.3394, allocations: 43.67 kB / 451.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.3395, allocations: 27.92 kB / 451.4 MB, free: 1.988 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.0002554/0.3397, allocations: 165.7 kB / 451.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.3398, allocations: 27.81 kB / 451.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3409, allocations: 0.5473 MB / 452.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3409, allocations: 4 kB / 452.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3409, allocations: 0 / 452.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3409, allocations: 7.922 kB / 452.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.3427, allocations: 1.099 MB / 453.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3427, allocations: 0 / 453.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.3431, allocations: 75.94 kB / 453.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.3433, allocations: 92.69 kB / 453.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.3434, allocations: 8 kB / 453.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.3455, allocations: 1.934 MB / 455.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3455, allocations: 0 / 455.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.3469, allocations: 0.801 MB / 456.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.347, allocations: 31.77 kB / 456.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.347, allocations: 8 kB / 456.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3472, allocations: 19.98 kB / 456.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.3473, allocations: 36.36 kB / 456.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.3473, allocations: 20.05 kB / 456.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3475, allocations: 135.2 kB / 456.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3475, allocations: 0 / 456.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005894/0.3481, allocations: 155.7 kB / 456.6 MB, free: 12.62 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.001858/0.3499, allocations: 1.376 MB / 458 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.351, allocations: 0.5389 MB / 458.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.351, allocations: 0 / 458.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.3516, allocations: 364.9 kB / 458.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3519, allocations: 28.14 kB / 458.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.357, allocations: 3.42 MB / 462.3 MB, free: 6.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.3574, allocations: 0.8084 MB / 463.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.3576, allocations: 42.97 kB / 463.1 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.3578, allocations: 143.4 kB / 463.3 MB, free: 5.707 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3578, allocations: 96 / 463.3 MB, free: 5.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04421/0.402, allocations: 8.121 MB / 471.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.21, allocations: 5.734 kB / 471.4 MB, free: 13.69 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.819753034000314]