Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.891/0.891, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.854e-05, allocations: 8.812 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002786/0.002805, allocations: 2.708 MB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008488/0.003653, allocations: 0.6893 MB / 328 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.003771, allocations: 8 kB / 328 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.003917, allocations: 63.38 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.004024, allocations: 87.12 kB / 328.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.004228, allocations: 99.73 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.004488, allocations: 394.7 kB / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.004687, allocations: 112.8 kB / 328.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.004958, allocations: 231.5 kB / 329 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.005065, allocations: 111.7 kB / 329.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.005101, allocations: 32 kB / 329.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.976e-05/0.00513, allocations: 36 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.005171, allocations: 75.72 kB / 329.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.005245, allocations: 115.7 kB / 329.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.005531, allocations: 406.6 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005534, allocations: 0 / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005536, allocations: 0 / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005541, 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.0006003/0.006141, allocations: 0.5472 MB / 330.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.006178, allocations: 8.031 kB / 330.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.006227, allocations: 70.72 kB / 330.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.006271, allocations: 40.7 kB / 330.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.00652, allocations: 205.2 kB / 330.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.006539, allocations: 25.03 kB / 330.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.006573, allocations: 28.38 kB / 330.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.006914, allocations: 330 kB / 331 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.006923, allocations: 192 / 331 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.006946, allocations: 20.12 kB / 331 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.006952, allocations: 8 kB / 331 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.007215, allocations: 214.5 kB / 331.2 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.008135, allocations: 0.9066 MB / 332.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.008353, allocations: 154.5 kB / 332.3 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.008519, allocations: 116.8 kB / 332.4 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.008534, allocations: 7.938 kB / 332.4 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.008556, allocations: 38.55 kB / 332.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.572e-06/0.008557, allocations: 3.938 kB / 332.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003373/0.008895, allocations: 225.7 kB / 332.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.008923, allocations: 55.41 kB / 332.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.009069, allocations: 227.1 kB / 332.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.009084, allocations: 29.7 kB / 332.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.009165, allocations: 192.4 kB / 333.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.009203, allocations: 79.36 kB / 333.2 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.00927, allocations: 49.98 kB / 333.3 MB, free: 6.969 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003465/0.009617, allocations: 326.8 kB / 333.6 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.009718, allocations: 72.52 kB / 333.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.009844, allocations: 151.3 kB / 333.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.01007, allocations: 229.2 kB / 334 MB, free: 6.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01007, allocations: 0 / 334 MB, free: 6.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002878/0.01036, allocations: 265.2 kB / 334.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01037, allocations: 11.94 kB / 334.3 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.01038, allocations: 4 kB / 334.3 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.0104, allocations: 12.23 kB / 334.3 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.01057, allocations: 67.91 kB / 334.4 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.01057, allocations: 7.938 kB / 334.4 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.01065, allocations: 39.7 kB / 334.4 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.01066, allocations: 11.98 kB / 334.4 MB, free: 5.715 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 8.975e-05/0.01075, allocations: 141.8 kB / 334.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.01078, allocations: 23.86 kB / 334.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.01102, allocations: 199.3 kB / 334.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.01102, allocations: 7.938 kB / 334.8 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01103, allocations: 0 / 334.8 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01103, allocations: 3.984 kB / 334.8 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.01152, allocations: 0.5526 MB / 335.4 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01152, allocations: 0 / 335.4 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.01167, allocations: 55.97 kB / 335.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01167, allocations: 4.062 kB / 335.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01168, allocations: 8 kB / 335.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01169, allocations: 0 / 335.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01169, allocations: 4 kB / 335.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.01203, allocations: 380.2 kB / 335.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.01206, allocations: 23.86 kB / 335.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01208, allocations: 8 kB / 335.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.01216, allocations: 15.98 kB / 335.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.0122, allocations: 19.97 kB / 335.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01221, allocations: 4 kB / 335.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.507e-05/0.0123, allocations: 164.5 kB / 336 MB, free: 4.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0123, allocations: 0 / 336 MB, free: 4.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.01251, allocations: 79.78 kB / 336.1 MB, free: 3.953 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.0005378/0.01305, allocations: 0.9056 MB / 337 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.0133, allocations: 163.8 kB / 337.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.0133, allocations: 0 / 337.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.01339, allocations: 83.84 kB / 337.3 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.0002522/0.01364, allocations: 29.3 kB / 337.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.0158, allocations: 2.677 MB / 340 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.898e-05/0.0159, allocations: 163.5 kB / 340.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.01597, allocations: 21.95 kB / 340.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.01606, allocations: 92.47 kB / 340.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01606, allocations: 0 / 340.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.03572, allocations: 5.445 MB / 345.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.148, allocations: 11.42 kB / 345.7 MB, free: 10.33 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv. Warning: Get data of variable sineCurrent.phi from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.105198908597231]