Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.001275/0.001275, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001342/0.001342, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.47/1.47, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 51.92 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 52.13 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004403/0.1125, allocations: 2.909 MB / 420.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1138, allocations: 0.6777 MB / 421.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.114, allocations: 7.938 kB / 421.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.1142, allocations: 59.44 kB / 421.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.1144, allocations: 91.19 kB / 421.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1147, allocations: 95.81 kB / 421.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.1151, allocations: 378.9 kB / 422 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.1154, allocations: 120.5 kB / 422.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.1157, allocations: 151.4 kB / 422.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.1159, allocations: 159.2 kB / 422.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.1159, allocations: 36 kB / 422.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.535e-05/0.116, allocations: 32 kB / 422.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.116, allocations: 79.73 kB / 422.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.1162, allocations: 171.2 kB / 422.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.1167, allocations: 386.4 kB / 423.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1167, allocations: 0 / 423.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1167, allocations: 0 / 423.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1167, allocations: 0 / 423.1 MB, free: 7.254 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001046/0.1177, allocations: 0.6312 MB / 423.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1178, allocations: 8.031 kB / 423.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.936e-05/0.1179, allocations: 70.72 kB / 423.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.1179, allocations: 40.7 kB / 423.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.1183, allocations: 271.9 kB / 424.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.1184, allocations: 25.03 kB / 424.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.1184, allocations: 36.33 kB / 424.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.119, allocations: 290.1 kB / 424.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.119, allocations: 0 / 424.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.119, allocations: 12 kB / 424.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.119, allocations: 8 kB / 424.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.1195, allocations: 214.5 kB / 424.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.1212, allocations: 1.022 MB / 425.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.1216, allocations: 150.6 kB / 425.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.1219, allocations: 124.7 kB / 426 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1219, allocations: 3.938 kB / 426 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.122, allocations: 42.5 kB / 426 MB, free: 4.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.122, allocations: 0 / 426 MB, free: 4.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006187/0.1226, allocations: 224 kB / 426.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.1226, allocations: 51.41 kB / 426.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1228, allocations: 223.1 kB / 426.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1229, allocations: 29.7 kB / 426.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.123, allocations: 192.4 kB / 426.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.1231, allocations: 83.36 kB / 426.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.1232, allocations: 57.94 kB / 426.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1233, allocations: 326.8 kB / 427.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.1235, allocations: 68.52 kB / 427.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.1237, allocations: 154.3 kB / 427.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.1242, allocations: 217.3 kB / 427.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.1242, allocations: 0 / 427.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005304/0.1247, allocations: 277 kB / 427.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.1247, allocations: 8 kB / 427.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.1247, allocations: 4 kB / 427.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1247, allocations: 4 kB / 427.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.1251, allocations: 71.89 kB / 428 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1251, allocations: 4 kB / 428 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.1252, allocations: 40.02 kB / 428 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1253, allocations: 12 kB / 428 MB, free: 2 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.1254, allocations: 138.4 kB / 428.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.1255, allocations: 23.84 kB / 428.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.1259, allocations: 199.3 kB / 428.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1259, allocations: 4 kB / 428.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1259, allocations: 0 / 428.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.126, allocations: 7.984 kB / 428.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009511/0.1269, allocations: 0.5975 MB / 429 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1269, allocations: 48 / 429 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.1272, allocations: 59.89 kB / 429 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1272, allocations: 0 / 429 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.1272, allocations: 20.05 kB / 429.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1272, allocations: 0 / 429.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1272, allocations: 0 / 429.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.1279, allocations: 386.2 kB / 429.4 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.128, allocations: 104.9 kB / 429.5 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.128, allocations: 8.047 kB / 429.6 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.1282, allocations: 15.98 kB / 429.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.1283, allocations: 11.98 kB / 429.6 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1283, allocations: 8 kB / 429.6 MB, free: 324 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.1285, allocations: 156.5 kB / 429.7 MB, free: 168 kB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1285, allocations: 0 / 429.7 MB, free: 168 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.1288, allocations: 79.78 kB / 429.8 MB, free: 88 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.1298, allocations: 0.9173 MB / 430.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.1303, allocations: 167.7 kB / 430.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.1303, allocations: 4 kB / 430.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.1305, allocations: 71.91 kB / 431 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1308, allocations: 37.22 kB / 431 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.1348, allocations: 2.826 MB / 433.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1353, allocations: 0.7713 MB / 434.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001/0.1354, allocations: 21.95 kB / 434.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.1355, allocations: 91.41 kB / 434.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1355, allocations: 3.938 kB / 434.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.168, allocations: 4.683 MB / 439.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.467, allocations: 14.5 kB / 439.4 MB, free: 6.398 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sineCurrent.phi in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv. Warning: Get data of variable sineCurrent.phi from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.549014282878488]