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.001987/0.001987, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002523/0.002523, allocations: 211.8 kB / 23.73 MB, free: 4.523 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001543/0.001543, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2373, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005396/0.2427, allocations: 3.399 MB / 434.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.2453, allocations: 1.398 MB / 435.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2455, allocations: 11.94 kB / 435.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.2475, allocations: 0.6919 MB / 436.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.2485, allocations: 386 kB / 437 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.2498, allocations: 0.5164 MB / 437.5 MB, free: 252 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005755/0.2504, allocations: 458 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000665/0.251, allocations: 370 kB / 438.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.2514, allocations: 215.2 kB / 438.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.2517, allocations: 262.9 kB / 438.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.2518, allocations: 43.98 kB / 438.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.2522, allocations: 207.9 kB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.2523, allocations: 103.6 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.2526, allocations: 187.1 kB / 439.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008773/0.2535, allocations: 0.6966 MB / 440 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2535, allocations: 0 / 440 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2535, allocations: 11.88 kB / 440 MB, free: 13.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.2535, allocations: 0 / 440 MB, free: 13.72 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.002283/0.2558, allocations: 0.833 MB / 440.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2558, allocations: 8.031 kB / 440.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.256, allocations: 108 kB / 440.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/0.2596, allocations: 472.2 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.2601, allocations: 245.9 kB / 441.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/0.2602, allocations: 37.69 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.031e-05/0.2603, allocations: 56.33 kB / 441.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.2613, allocations: 0.5508 MB / 442.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.2613, allocations: 3.984 kB / 442.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.2614, allocations: 28 kB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.2614, allocations: 12 kB / 442.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.2625, allocations: 0.5595 MB / 442.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/0.2656, allocations: 1.597 MB / 444.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.2672, allocations: 0.5589 MB / 445 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.2676, allocations: 194.1 kB / 445.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.029e-05/0.2677, allocations: 20.42 kB / 445.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.2677, allocations: 39 kB / 445.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.023e-06/0.2677, allocations: 0 / 445.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002038/0.2697, allocations: 0.7103 MB / 446 MB, free: 7.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.2698, allocations: 59.84 kB / 446.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.27, allocations: 186.2 kB / 446.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.27, allocations: 37.64 kB / 446.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.2702, allocations: 228.9 kB / 446.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.2703, allocations: 170.6 kB / 446.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.2705, allocations: 86.14 kB / 446.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2707, allocations: 334.8 kB / 447.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.271, allocations: 152.9 kB / 447.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.2714, allocations: 228.2 kB / 447.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007436/0.2722, allocations: 403.5 kB / 447.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.2722, allocations: 4 kB / 447.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001109/0.2733, allocations: 0.5241 MB / 448.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2733, allocations: 8 kB / 448.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2733, allocations: 4 kB / 448.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004162/0.2737, allocations: 92.67 kB / 448.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.2741, allocations: 91.89 kB / 448.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.2765, allocations: 1.93 MB / 450.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.2768, allocations: 47.66 kB / 450.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.2768, allocations: 23.94 kB / 450.6 MB, free: 2.738 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.0002053/0.277, allocations: 157.8 kB / 450.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.2771, allocations: 31.86 kB / 450.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.2784, allocations: 0.551 MB / 451.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2784, allocations: 4 kB / 451.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2784, allocations: 0 / 451.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2784, allocations: 3.938 kB / 451.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.2802, allocations: 1.04 MB / 452.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2802, allocations: 8 kB / 452.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.2805, allocations: 71.89 kB / 452.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/0.2808, allocations: 88.75 kB / 452.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.2809, allocations: 19.92 kB / 452.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.2831, allocations: 1.914 MB / 454.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2831, allocations: 7.984 kB / 454.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.2845, allocations: 0.7933 MB / 455.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.2846, allocations: 35.72 kB / 455.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.2846, allocations: 8 kB / 455.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.2848, allocations: 19.98 kB / 455.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.285, allocations: 44.42 kB / 455.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.285, allocations: 12 kB / 455.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.2851, allocations: 132.2 kB / 455.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2851, allocations: 0 / 455.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005934/0.2857, allocations: 155.7 kB / 455.6 MB, free: 13.45 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.00198/0.2877, allocations: 1.368 MB / 457 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.2888, allocations: 0.5386 MB / 457.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2888, allocations: 0 / 457.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006826/0.2895, allocations: 357.4 kB / 457.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.2898, allocations: 34.39 kB / 457.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/0.2951, allocations: 3.416 MB / 461.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.2953, allocations: 208.8 kB / 461.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.2955, allocations: 50.89 kB / 461.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.2957, allocations: 131.4 kB / 461.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2957, allocations: 7.938 kB / 461.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/0.3373, allocations: 8.587 MB / 470.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.96, allocations: 10.64 kB / 470.3 MB, free: 14.72 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.527615932980552]