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.00184/0.00184, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00235/0.00235, allocations: 208 kB / 23.73 MB, free: 4.391 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.001997/0.001997, allocations: 63.89 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2201, allocations: 53.4 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005088/0.2252, allocations: 3.398 MB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.2276, allocations: 1.394 MB / 435.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.2278, allocations: 8 kB / 435.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.2296, allocations: 0.7032 MB / 436.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008803/0.2304, allocations: 382.1 kB / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.2315, allocations: 0.5242 MB / 437.5 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005105/0.232, allocations: 462 kB / 438 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005768/0.2326, allocations: 358 kB / 438.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.2329, allocations: 215.2 kB / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.2332, allocations: 231 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.269e-05/0.2332, allocations: 40 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.2336, allocations: 203.8 kB / 439 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.2337, allocations: 107.5 kB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.2339, allocations: 195.1 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008144/0.2347, allocations: 0.6849 MB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2347, allocations: 0 / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2347, allocations: 0 / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2347, allocations: 8 kB / 440 MB, free: 13.55 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.002075/0.2368, allocations: 0.8407 MB / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2368, allocations: 11.98 kB / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.237, allocations: 99.97 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.2404, allocations: 472.2 kB / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.2409, allocations: 249.8 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.241, allocations: 41.69 kB / 441.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.241, allocations: 56.33 kB / 441.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2421, allocations: 0.5469 MB / 442.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.2421, allocations: 4 kB / 442.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.2421, allocations: 20 kB / 442.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.2422, allocations: 12 kB / 442.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.2432, allocations: 0.5634 MB / 442.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.2462, allocations: 1.604 MB / 444.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.2478, allocations: 0.5507 MB / 445.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.2481, allocations: 194 kB / 445.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.741e-05/0.2482, allocations: 20.41 kB / 445.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2483, allocations: 39 kB / 445.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.093e-06/0.2483, allocations: 0 / 445.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00212/0.2504, allocations: 0.7142 MB / 446 MB, free: 7.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.2504, allocations: 55.84 kB / 446.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.2506, allocations: 190.9 kB / 446.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.2507, allocations: 33.7 kB / 446.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.2508, allocations: 232.9 kB / 446.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.2509, allocations: 162.6 kB / 446.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2511, allocations: 90.12 kB / 446.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2513, allocations: 338.8 kB / 447.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.2516, allocations: 156.9 kB / 447.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.252, allocations: 228.2 kB / 447.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007171/0.2527, allocations: 399.4 kB / 447.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2527, allocations: 0 / 447.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001138/0.2538, allocations: 0.5316 MB / 448.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2538, allocations: 8.219 kB / 448.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2539, allocations: 7.938 kB / 448.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/0.2542, allocations: 88.8 kB / 448.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.2546, allocations: 87.89 kB / 448.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.2568, allocations: 1.926 MB / 450.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.2571, allocations: 43.66 kB / 450.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.2571, allocations: 24.12 kB / 450.6 MB, free: 2.574 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.0002003/0.2573, allocations: 161.8 kB / 450.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.2574, allocations: 31.86 kB / 450.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.2585, allocations: 0.551 MB / 451.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2585, allocations: 4 kB / 451.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2586, allocations: 0 / 451.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.2586, allocations: 7.938 kB / 451.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.2603, allocations: 1.044 MB / 452.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.2603, allocations: 0 / 452.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.2607, allocations: 75.89 kB / 452.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/0.2609, allocations: 80.81 kB / 452.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.261, allocations: 15.98 kB / 452.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.2631, allocations: 1.922 MB / 454.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2631, allocations: 0 / 454.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2645, allocations: 0.7933 MB / 455.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.2646, allocations: 35.7 kB / 455.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.2646, allocations: 12 kB / 455.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.2648, allocations: 15.98 kB / 455.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.2649, allocations: 36.31 kB / 455.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.265, allocations: 20.05 kB / 455.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.2651, allocations: 139.2 kB / 455.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2651, allocations: 192 / 455.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005733/0.2657, allocations: 147.7 kB / 455.7 MB, free: 13.29 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.001917/0.2676, allocations: 1.372 MB / 457 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.2687, allocations: 0.5464 MB / 457.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2687, allocations: 0 / 457.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006185/0.2693, allocations: 357.4 kB / 457.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.2697, allocations: 28.14 kB / 457.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.2747, allocations: 3.408 MB / 461.4 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.2749, allocations: 208.8 kB / 461.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.2751, allocations: 46.95 kB / 461.6 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.2753, allocations: 139.4 kB / 461.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2753, allocations: 0 / 461.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0405/0.3158, allocations: 8.438 MB / 470.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.79, allocations: 8 kB / 470.2 MB, free: 14.68 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.3127477071248]