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.001751/0.001751, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002164/0.002164, allocations: 209.3 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001475/0.001475, allocations: 47.92 kB / 377.7 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.265, allocations: 53.38 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004448/0.2694, allocations: 2.7 MB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.2707, allocations: 0.6816 MB / 434.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.2708, allocations: 8 kB / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.2711, allocations: 67.36 kB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.2712, allocations: 83.2 kB / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.2715, allocations: 91.88 kB / 434.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.2719, allocations: 382.8 kB / 435.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.2722, allocations: 124.8 kB / 435.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.2725, allocations: 159.5 kB / 435.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.2727, allocations: 155.3 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.2727, allocations: 32 kB / 435.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-05/0.2728, allocations: 36 kB / 435.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.2728, allocations: 71.77 kB / 435.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.273, allocations: 143.4 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.2734, allocations: 394.7 kB / 436.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2734, allocations: 4 kB / 436.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2734, allocations: 0 / 436.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2734, allocations: 0 / 436.2 MB, free: 1.512 MB / 334.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.0009696/0.2744, allocations: 0.5482 MB / 436.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.2745, allocations: 12.03 kB / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.267e-05/0.2745, allocations: 62.73 kB / 436.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.2746, allocations: 52.62 kB / 436.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.275, allocations: 206.7 kB / 437.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.275, allocations: 21.03 kB / 437.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.2751, allocations: 36.38 kB / 437.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.2756, allocations: 337.6 kB / 437.5 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2756, allocations: 0 / 437.5 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.2757, allocations: 8 kB / 437.5 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2757, allocations: 8 kB / 437.5 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.2762, allocations: 226.4 kB / 437.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.2777, allocations: 0.902 MB / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.278, allocations: 150.5 kB / 438.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.2783, allocations: 129.1 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.2783, allocations: 3.953 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.2784, allocations: 38.56 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.2784, allocations: 0 / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005715/0.2789, allocations: 231.6 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.279, allocations: 55.41 kB / 439.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.2792, allocations: 215.1 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.2792, allocations: 33.7 kB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2794, allocations: 200.3 kB / 439.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.2794, allocations: 71.38 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/0.2795, allocations: 49.98 kB / 439.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2797, allocations: 330.8 kB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.2799, allocations: 76.52 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.2801, allocations: 147.3 kB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.2805, allocations: 225.2 kB / 440.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2805, allocations: 0 / 440.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005039/0.281, allocations: 269.2 kB / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.281, allocations: 8 kB / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.281, allocations: 256 / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.281, allocations: 11.94 kB / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.2813, allocations: 71.89 kB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.2813, allocations: 4 kB / 440.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.2815, allocations: 35.77 kB / 440.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2815, allocations: 12 kB / 440.9 MB, free: 12.5 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.0001354/0.2816, allocations: 141.7 kB / 441.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.2817, allocations: 27.8 kB / 441.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.2821, allocations: 205.5 kB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2821, allocations: 11.97 kB / 441.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2821, allocations: 3.938 kB / 441.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2822, allocations: 3.984 kB / 441.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.283, allocations: 0.5563 MB / 441.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.283, allocations: 0 / 441.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.2833, allocations: 51.97 kB / 441.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2833, allocations: 4.062 kB / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.2833, allocations: 8 kB / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2833, allocations: 3.938 kB / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2833, allocations: 0 / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006344/0.2839, allocations: 377.3 kB / 442.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.284, allocations: 19.86 kB / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.284, allocations: 8.062 kB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2842, allocations: 15.98 kB / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.2842, allocations: 19.91 kB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2842, allocations: 8 kB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.2844, allocations: 160.6 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2844, allocations: 0 / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000342/0.2847, allocations: 79.78 kB / 442.6 MB, free: 10.72 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.0009159/0.2857, allocations: 0.9125 MB / 443.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004339/0.2861, allocations: 159.8 kB / 443.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2861, allocations: 0 / 443.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.2863, allocations: 80.42 kB / 443.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2866, allocations: 44.84 kB / 443.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.2904, allocations: 2.81 MB / 446.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.2905, allocations: 163.5 kB / 446.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.803e-05/0.2906, allocations: 17.95 kB / 446.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.2908, allocations: 95.41 kB / 446.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2908, allocations: 0 / 446.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.3244, allocations: 5.396 MB / 452.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.95, allocations: 8 kB / 452.3 MB, free: 1.02 MB / 350.1 MB " [Timeout remaining time 649] (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/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_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: 13.768991293996805]