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.001218/0.001218, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001072/0.001072, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.888/0.888, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.924e-06/1.924e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.266e-05, allocations: 7.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004074/0.004096, allocations: 2.713 MB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.005464, allocations: 0.6738 MB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.005655, allocations: 11.94 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.005995, allocations: 59.44 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.006232, allocations: 91.12 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.006506, allocations: 95.73 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.006792, allocations: 394.7 kB / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.006999, allocations: 116.8 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.007292, allocations: 235.5 kB / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.007408, allocations: 111.7 kB / 329 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.007442, allocations: 36 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.076e-05/0.007472, allocations: 32 kB / 329.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.996e-05/0.007512, allocations: 71.69 kB / 329.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.671e-05/0.007589, allocations: 119.7 kB / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.007891, allocations: 394.7 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.007895, allocations: 0 / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.007897, allocations: 0 / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.007902, allocations: 0 / 329.7 MB, free: 10.73 MB / 298.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.0006674/0.00857, allocations: 0.5443 MB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.008606, allocations: 15.92 kB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.008657, allocations: 70.72 kB / 330.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.008705, allocations: 40.7 kB / 330.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.008967, allocations: 205.2 kB / 330.5 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.008984, allocations: 25.03 kB / 330.5 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.009019, allocations: 28.38 kB / 330.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.009371, allocations: 338 kB / 330.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.00938, allocations: 192 / 330.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.009403, allocations: 20.12 kB / 330.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.00941, allocations: 8 kB / 330.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.009739, allocations: 218.4 kB / 331.1 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/0.01068, allocations: 0.9144 MB / 332.1 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.01089, allocations: 146.6 kB / 332.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.01105, allocations: 116.8 kB / 332.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.01107, allocations: 4 kB / 332.3 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.01109, allocations: 38.56 kB / 332.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.01109, allocations: 0 / 332.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.000345/0.01144, allocations: 229.7 kB / 332.6 MB, free: 7.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.01146, allocations: 51.41 kB / 332.6 MB, free: 7.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.01175, allocations: 219.1 kB / 332.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.01177, allocations: 29.7 kB / 332.9 MB, free: 7.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.01185, allocations: 200.4 kB / 333.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.0119, allocations: 75.38 kB / 333.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.01195, allocations: 45.98 kB / 333.2 MB, free: 6.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.01205, allocations: 334.8 kB / 333.5 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.01216, allocations: 60.53 kB / 333.6 MB, free: 6.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.0123, allocations: 159.5 kB / 333.7 MB, free: 6.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.01256, allocations: 233.1 kB / 334 MB, free: 6.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01256, allocations: 4 kB / 334 MB, free: 6.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002929/0.01285, allocations: 269.2 kB / 334.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.01286, allocations: 7.938 kB / 334.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01287, allocations: 4 kB / 334.2 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01288, allocations: 4.25 kB / 334.2 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.01305, allocations: 75.89 kB / 334.3 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.01306, allocations: 4 kB / 334.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.01314, allocations: 31.78 kB / 334.4 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.01315, allocations: 12 kB / 334.4 MB, free: 5.719 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.157e-05/0.01324, allocations: 141.8 kB / 334.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.01327, allocations: 27.86 kB / 334.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.01358, allocations: 207.2 kB / 334.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01358, allocations: 3.938 kB / 334.7 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01358, allocations: 4 kB / 334.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01359, allocations: 0 / 334.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.01407, allocations: 0.545 MB / 335.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01407, allocations: 4 kB / 335.3 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.01423, allocations: 55.89 kB / 335.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.01423, allocations: 8.062 kB / 335.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.01424, allocations: 4 kB / 335.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01424, allocations: 4 kB / 335.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01424, allocations: 0 / 335.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.01479, allocations: 372.3 kB / 335.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.01484, allocations: 31.84 kB / 335.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01486, allocations: 7.938 kB / 335.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.01501, allocations: 19.98 kB / 335.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.01506, allocations: 15.97 kB / 335.8 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.01507, allocations: 4 kB / 335.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.01518, allocations: 156.6 kB / 336 MB, free: 4.039 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01518, allocations: 4 kB / 336 MB, free: 4.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.01543, allocations: 75.78 kB / 336 MB, free: 3.961 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.000571/0.016, allocations: 0.9056 MB / 336.9 MB, free: 3.023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.01627, allocations: 167.8 kB / 337.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01627, allocations: 4 kB / 337.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.998e-05/0.01637, allocations: 83.78 kB / 337.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.01664, allocations: 37.58 kB / 337.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.01891, allocations: 2.673 MB / 339.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.907e-05/0.01901, allocations: 159.5 kB / 340.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.916e-05/0.01909, allocations: 29.92 kB / 340.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.01918, allocations: 92.47 kB / 340.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01918, allocations: 0 / 340.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.04069, allocations: 5.431 MB / 345.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/6.787, allocations: 3.938 kB / 345.6 MB, free: 10.31 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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: 8.738178187981248]