Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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.00142/0.00142, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001707/0.001707, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.575/1.575, allocations: 230.4 MB / 254 MB, free: 15.02 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.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 63.89 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1629, allocations: 53.37 MB / 426.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.005336/0.1683, allocations: 2.919 MB / 429.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1701, allocations: 0.7167 MB / 430 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.1705, allocations: 8 kB / 430 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.1708, allocations: 63.36 kB / 430.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.1712, allocations: 83.2 kB / 430.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.1716, allocations: 87.88 kB / 430.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.1723, allocations: 386.8 kB / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.1726, allocations: 128.5 kB / 430.7 MB, free: 212 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004882/0.1731, allocations: 155.5 kB / 430.9 MB, free: 56 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2584/0.4315, allocations: 153.5 kB / 431 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.4316, allocations: 32.69 kB / 431.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.4317, allocations: 32.75 kB / 431.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.641e-05/0.4318, allocations: 73.84 kB / 431.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.4321, allocations: 173.6 kB / 431.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.4326, allocations: 389.6 kB / 431.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4326, allocations: 1.094 kB / 431.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4326, allocations: 0.9688 kB / 431.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.4326, allocations: 0 / 431.7 MB, free: 7.801 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.001061/0.4337, allocations: 0.6227 MB / 432.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4338, allocations: 9.188 kB / 432.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.015e-05/0.4338, allocations: 74.45 kB / 432.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.4339, allocations: 39.02 kB / 432.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.4343, allocations: 268.2 kB / 432.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.4343, allocations: 24.31 kB / 432.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.4344, allocations: 34.94 kB / 432.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.4349, allocations: 284.4 kB / 433.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4349, allocations: 0 / 433.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.435, allocations: 13.53 kB / 433.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.435, allocations: 8.062 kB / 433.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.4354, allocations: 220.3 kB / 433.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.4369, allocations: 1.02 MB / 434.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.4372, allocations: 152.5 kB / 434.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.4375, allocations: 124.8 kB / 434.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4375, allocations: 9.297 kB / 434.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.4376, allocations: 37.94 kB / 434.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.4376, allocations: 0 / 434.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005955/0.4382, allocations: 218.4 kB / 434.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.4382, allocations: 53.72 kB / 434.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.4384, allocations: 219.4 kB / 435.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.4384, allocations: 34.14 kB / 435.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.4385, allocations: 188.6 kB / 435.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.4386, allocations: 80.91 kB / 435.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.4387, allocations: 51.28 kB / 435.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.4387, allocations: 330.7 kB / 435.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.4389, allocations: 65.31 kB / 435.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.4392, allocations: 145.2 kB / 436 MB, free: 5.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.4396, allocations: 229.7 kB / 436.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4396, allocations: 0 / 436.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005177/0.4401, allocations: 277.1 kB / 436.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4401, allocations: 9.469 kB / 436.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.4401, allocations: 3.359 kB / 436.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4401, allocations: 4.188 kB / 436.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.4404, allocations: 72.59 kB / 436.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.4405, allocations: 10.27 kB / 436.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.4406, allocations: 28.19 kB / 436.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.4406, allocations: 8.531 kB / 436.6 MB, free: 5.461 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.0001327/0.4408, allocations: 149.5 kB / 436.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.4408, allocations: 27.41 kB / 436.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/0.4413, allocations: 200.7 kB / 437 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.4413, allocations: 7.797 kB / 437 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.4413, allocations: 0 / 437 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4413, allocations: 1.5 kB / 437 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.4422, allocations: 0.5984 MB / 437.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4422, allocations: 1.406 kB / 437.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.4424, allocations: 61.2 kB / 437.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4425, allocations: 2.094 kB / 437.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.4425, allocations: 6.297 kB / 437.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4425, allocations: 6.078 kB / 437.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.4425, allocations: 0.9688 kB / 437.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.4432, allocations: 376.6 kB / 438.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.4432, allocations: 103.3 kB / 438.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.4433, allocations: 8.719 kB / 438.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.4435, allocations: 16.52 kB / 438.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.646e-05/0.4436, allocations: 13.48 kB / 438.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.4436, allocations: 7.156 kB / 438.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.4437, allocations: 164.9 kB / 438.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4437, allocations: 0 / 438.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.4441, allocations: 79 kB / 438.4 MB, free: 4.555 MB / 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.0008016/0.4449, allocations: 0.9095 MB / 439.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.4453, allocations: 163.3 kB / 439.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4453, allocations: 1.062 kB / 439.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.4455, allocations: 82.2 kB / 439.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.4459, allocations: 37.31 kB / 439.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.4497, allocations: 2.832 MB / 442.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.4499, allocations: 0.7667 MB / 443.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.45, allocations: 21.59 kB / 443.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.4501, allocations: 92.83 kB / 443.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4501, allocations: 0 / 443.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.4836, allocations: 4.679 MB / 448 MB, free: 288 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.173, allocations: 11.91 kB / 448 MB, free: 280 kB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv. Warning: Get data of variable sineCurrent.phi from file Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.182713386951946]