Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 47.92 kB / 365.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 52.14 MB / 417.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005335/0.1189, allocations: 3.714 MB / 421.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.1216, allocations: 1.433 MB / 422.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.1218, allocations: 12 kB / 422.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.1236, allocations: 0.7658 MB / 423.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.1248, allocations: 0.5364 MB / 424.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008826/0.1257, allocations: 429.8 kB / 424.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005352/0.1262, allocations: 466 kB / 425.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006474/0.1269, allocations: 370 kB / 425.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.1272, allocations: 219.2 kB / 425.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.1275, allocations: 275 kB / 426 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.1276, allocations: 44 kB / 426 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004268/0.128, allocations: 211.8 kB / 426.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.1281, allocations: 107.7 kB / 426.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.1283, allocations: 234.8 kB / 426.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009251/0.1293, allocations: 0.7043 MB / 427.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1293, allocations: 0 / 427.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1293, allocations: 3.938 kB / 427.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1293, allocations: 0 / 427.2 MB, free: 3.133 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.002321/0.1316, allocations: 0.9277 MB / 428.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1316, allocations: 8.031 kB / 428.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.1318, allocations: 96.02 kB / 428.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/0.1354, allocations: 0.4962 MB / 428.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.1359, allocations: 307.7 kB / 429.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.1359, allocations: 37.69 kB / 429.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-05/0.136, allocations: 52.38 kB / 429.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.137, allocations: 0.5296 MB / 429.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.1371, allocations: 4 kB / 429.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.1371, allocations: 20 kB / 429.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.1371, allocations: 12 kB / 429.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1383, allocations: 0.583 MB / 430.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.1414, allocations: 1.883 MB / 432.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.1437, allocations: 2.111 MB / 434.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/0.1442, allocations: 230.1 kB / 434.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.1443, allocations: 93.52 kB / 434.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1443, allocations: 42.94 kB / 434.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.1443, allocations: 0 / 434.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.00187/0.1462, allocations: 0.735 MB / 435.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1462, allocations: 59.84 kB / 435.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1465, allocations: 190.3 kB / 435.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.1465, allocations: 33.7 kB / 435.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1467, allocations: 224.9 kB / 435.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.1468, allocations: 174.5 kB / 436.1 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1469, allocations: 86.2 kB / 436.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1471, allocations: 342.8 kB / 436.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.1474, allocations: 149 kB / 436.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.1478, allocations: 242.5 kB / 436.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.1485, allocations: 412.9 kB / 437.3 MB, free: 8.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1485, allocations: 4 kB / 437.3 MB, free: 8.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001075/0.1496, allocations: 0.5356 MB / 437.8 MB, free: 7.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1496, allocations: 8 kB / 437.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1496, allocations: 0 / 437.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.15, allocations: 81.09 kB / 437.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.1504, allocations: 99.81 kB / 438 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.1524, allocations: 1.785 MB / 439.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.1527, allocations: 51.66 kB / 439.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.1528, allocations: 16 kB / 439.8 MB, free: 5.625 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.153, allocations: 169.8 kB / 440 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.153, allocations: 23.86 kB / 440 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.1542, allocations: 0.5356 MB / 440.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.1543, allocations: 4 kB / 440.6 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1543, allocations: 3.938 kB / 440.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1543, allocations: 3.984 kB / 440.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.1562, allocations: 1.148 MB / 441.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1562, allocations: 0 / 441.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.1565, allocations: 79.89 kB / 441.8 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.1568, allocations: 76.88 kB / 441.9 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.1568, allocations: 15.98 kB / 441.9 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.1587, allocations: 1.77 MB / 443.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1587, allocations: 0 / 443.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.1602, allocations: 0.7913 MB / 444.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-05/0.1603, allocations: 120.8 kB / 444.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.1603, allocations: 12.06 kB / 444.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.1605, allocations: 19.98 kB / 444.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.1606, allocations: 36.33 kB / 444.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.1607, allocations: 16 kB / 444.7 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.1608, allocations: 136.2 kB / 444.8 MB, free: 416 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1608, allocations: 3.938 kB / 444.8 MB, free: 412 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.1614, allocations: 147.7 kB / 444.9 MB, free: 264 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2335/0.3949, allocations: 1.37 MB / 446.3 MB, free: 29.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.396, allocations: 0.5438 MB / 446.9 MB, free: 29.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.396, allocations: 1.469 kB / 446.9 MB, free: 29.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.3966, allocations: 352.2 kB / 447.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.3971, allocations: 38.38 kB / 447.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/0.4037, allocations: 3.443 MB / 450.7 MB, free: 27.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.4041, allocations: 0.8103 MB / 451.5 MB, free: 27.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003219/0.4044, allocations: 44.44 kB / 451.5 MB, free: 27.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.4047, allocations: 137.3 kB / 451.7 MB, free: 27.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.144e-06/0.4047, allocations: 4.688 kB / 451.7 MB, free: 27.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05167/0.4564, allocations: 7.641 MB / 459.3 MB, free: 26.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.77, allocations: 12.84 kB / 459.3 MB, free: 26.27 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_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_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.pin_p.reference.gamma in file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.333887732587755]