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.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001466/0.001466, allocations: 214 kB / 23.73 MB, free: 4.16 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001686/0.001686, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2407, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005317/0.246, allocations: 3.41 MB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.2488, allocations: 1.386 MB / 435.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.249, allocations: 12 kB / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.2512, allocations: 0.6953 MB / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.2523, allocations: 382.1 kB / 437 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.2535, allocations: 0.5166 MB / 437.5 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.2541, allocations: 465.9 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/0.2547, allocations: 362 kB / 438.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.2551, allocations: 207.3 kB / 438.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.2554, allocations: 227 kB / 438.7 MB, free: 15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.2555, allocations: 44 kB / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.2559, allocations: 211.8 kB / 439 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.256, allocations: 107.5 kB / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2562, allocations: 191 kB / 439.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009452/0.2571, allocations: 0.6888 MB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2571, allocations: 4 kB / 439.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2571, allocations: 4 kB / 439.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2572, allocations: 0 / 439.9 MB, free: 13.76 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.002191/0.2593, allocations: 0.8394 MB / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.2594, allocations: 8.031 kB / 440.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.2596, allocations: 104 kB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/0.2632, allocations: 472.2 kB / 441.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.2637, allocations: 245.8 kB / 441.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.2637, allocations: 49.69 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.2638, allocations: 56.33 kB / 441.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.2649, allocations: 0.5469 MB / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.2649, allocations: 0 / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.265, allocations: 20 kB / 442.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.265, allocations: 19.98 kB / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2661, allocations: 0.5595 MB / 442.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.2691, allocations: 1.597 MB / 444.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.2707, allocations: 0.5595 MB / 445 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.271, allocations: 194 kB / 445.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.292e-05/0.2711, allocations: 24.41 kB / 445.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.2711, allocations: 35 kB / 445.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.2711, allocations: 4 kB / 445.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002009/0.2731, allocations: 0.7104 MB / 446 MB, free: 7.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.2732, allocations: 63.83 kB / 446 MB, free: 7.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.2734, allocations: 190.1 kB / 446.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.2734, allocations: 33.7 kB / 446.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.2736, allocations: 228.9 kB / 446.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.2737, allocations: 170.6 kB / 446.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.2739, allocations: 82.14 kB / 446.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.2741, allocations: 334.8 kB / 447 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.2744, allocations: 156.9 kB / 447.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.2748, allocations: 224.2 kB / 447.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.2755, allocations: 399.4 kB / 447.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2755, allocations: 3.938 kB / 447.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001116/0.2766, allocations: 0.5358 MB / 448.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2766, allocations: 8 kB / 448.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2767, allocations: 4 kB / 448.4 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.277, allocations: 88.73 kB / 448.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.2774, allocations: 91.89 kB / 448.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.2796, allocations: 1.922 MB / 450.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.2799, allocations: 47.66 kB / 450.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.2799, allocations: 15.94 kB / 450.5 MB, free: 2.781 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.0002205/0.2802, allocations: 169.8 kB / 450.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.2802, allocations: 27.86 kB / 450.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.2814, allocations: 0.5433 MB / 451.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.2814, allocations: 8 kB / 451.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2814, allocations: 4 kB / 451.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2814, allocations: 3.938 kB / 451.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.2832, allocations: 1.044 MB / 452.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2832, allocations: 0 / 452.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.2835, allocations: 79.89 kB / 452.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.2838, allocations: 81 kB / 452.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.2839, allocations: 19.98 kB / 452.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.2861, allocations: 1.918 MB / 454.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2861, allocations: 0 / 454.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.2876, allocations: 0.7972 MB / 455.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.2876, allocations: 35.72 kB / 455.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.2877, allocations: 11.94 kB / 455.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2879, allocations: 19.92 kB / 455.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/0.288, allocations: 40.44 kB / 455.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.288, allocations: 15.98 kB / 455.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.2882, allocations: 132.2 kB / 455.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2882, allocations: 4 kB / 455.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006426/0.2888, allocations: 147.7 kB / 455.6 MB, free: 13.48 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.0019/0.2907, allocations: 1.376 MB / 457 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.2918, allocations: 0.5425 MB / 457.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2918, allocations: 0 / 457.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.2924, allocations: 357.4 kB / 457.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.2928, allocations: 31.98 kB / 457.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.298, allocations: 3.408 MB / 461.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2982, allocations: 200.8 kB / 461.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.2984, allocations: 50.94 kB / 461.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.2986, allocations: 139.4 kB / 461.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2986, allocations: 4 kB / 461.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/0.3393, allocations: 8.436 MB / 470.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.88, allocations: 3.75 kB / 470.1 MB, free: 14.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.342092557344586]