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.0008323/0.0008323, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001203/0.001203, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8998/0.8998, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.743e-06/1.743e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.275e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004119/0.004142, allocations: 2.68 MB / 321.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.005509, allocations: 0.6465 MB / 321.8 MB, free: 3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.005699, allocations: 7.938 kB / 321.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.005902, allocations: 71.3 kB / 321.8 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.006097, allocations: 91.14 kB / 321.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.006417, allocations: 91.86 kB / 322 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.006707, allocations: 394.7 kB / 322.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.006915, allocations: 124.7 kB / 322.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.007137, allocations: 215.5 kB / 322.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.007253, allocations: 115.7 kB / 322.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.007293, allocations: 36 kB / 322.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-05/0.007323, allocations: 32 kB / 322.9 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.007364, allocations: 71.75 kB / 323 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.007439, allocations: 119.7 kB / 323.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.007719, allocations: 394.7 kB / 323.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.007722, allocations: 0 / 323.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.007723, allocations: 0 / 323.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.007729, allocations: 0 / 323.5 MB, free: 1.27 MB / 282.7 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.0006512/0.008381, allocations: 0.5521 MB / 324 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.008417, allocations: 8.922 kB / 324.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.008469, allocations: 78.66 kB / 324.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.008515, allocations: 36.7 kB / 324.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.008759, allocations: 205.2 kB / 324.4 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.008778, allocations: 25.03 kB / 324.4 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.008821, allocations: 32.38 kB / 324.4 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.009184, allocations: 338 kB / 324.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.009203, allocations: 192 / 324.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.009227, allocations: 16.12 kB / 324.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.009233, allocations: 8 kB / 324.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.009507, allocations: 206.5 kB / 325 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.01056, allocations: 0.9144 MB / 325.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.01077, allocations: 154.1 kB / 326 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.01095, allocations: 120.8 kB / 326.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.01096, allocations: 7.938 kB / 326.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.01098, allocations: 34.5 kB / 326.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/0.01098, allocations: 0 / 326.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003512/0.01134, allocations: 229.7 kB / 326.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.01136, allocations: 51.41 kB / 326.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.0115, allocations: 227.1 kB / 326.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.01152, allocations: 33.7 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.0116, allocations: 192.4 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.01164, allocations: 79.38 kB / 327 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.01169, allocations: 49.92 kB / 327.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.01178, allocations: 334.8 kB / 327.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.01188, allocations: 72.45 kB / 327.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.01201, allocations: 143.3 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.01226, allocations: 225.2 kB / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01226, allocations: 0 / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003204/0.01258, allocations: 273.2 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.0126, allocations: 7.938 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01261, allocations: 4 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01262, allocations: 4 kB / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.01283, allocations: 75.89 kB / 328.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.01283, allocations: 7.938 kB / 328.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.01292, allocations: 32.03 kB / 328.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.01294, allocations: 12 kB / 328.2 MB, free: 12.25 MB / 298.7 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 9.14e-05/0.01303, allocations: 149.7 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.01305, allocations: 19.86 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.01331, allocations: 202.3 kB / 328.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01331, allocations: 3.938 kB / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01332, allocations: 0 / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01332, allocations: 0 / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.01381, allocations: 0.5521 MB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01382, allocations: 0 / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.01397, allocations: 63.89 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01397, allocations: 8 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01398, allocations: 4 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01398, allocations: 4 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01399, allocations: 0 / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.01435, allocations: 377.3 kB / 329.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.01437, allocations: 23.83 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.01439, allocations: 4.062 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/0.01448, allocations: 19.98 kB / 329.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.01452, allocations: 11.97 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.01453, allocations: 8 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.449e-05/0.01462, allocations: 152.6 kB / 329.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01462, allocations: 4 kB / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.01485, allocations: 75.84 kB / 329.9 MB, free: 10.5 MB / 298.7 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.0005336/0.01538, allocations: 0.9133 MB / 330.8 MB, free: 9.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.01563, allocations: 171.9 kB / 331 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01564, allocations: 4 kB / 331 MB, free: 9.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.01573, allocations: 75.89 kB / 331 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.01598, allocations: 32.66 kB / 331.1 MB, free: 9.277 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.01814, allocations: 2.693 MB / 333.8 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01824, allocations: 159.5 kB / 333.9 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.483e-05/0.01831, allocations: 25.94 kB / 333.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.01841, allocations: 92.47 kB / 334 MB, free: 6.137 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01842, allocations: 0 / 334 MB, free: 6.137 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.04021, allocations: 5.431 MB / 339.5 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/6.941, allocations: 0 / 339.5 MB, free: 0.8555 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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: 8.91355066653341]