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.001896/0.001896, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002543/0.002543, allocations: 207.3 kB / 23.72 MB, free: 4.391 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.001965/0.001965, allocations: 71.89 kB / 377.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2812, allocations: 53.4 MB / 431.2 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004095/0.2853, allocations: 2.707 MB / 433.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2866, allocations: 0.6833 MB / 434.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.2867, allocations: 7.938 kB / 434.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.2869, allocations: 67.36 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.2871, allocations: 79.25 kB / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.2873, allocations: 91.83 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.2877, allocations: 382.8 kB / 435.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.288, allocations: 120.8 kB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.2883, allocations: 155.4 kB / 435.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.2884, allocations: 139.3 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.2885, allocations: 32 kB / 435.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-05/0.2885, allocations: 32 kB / 435.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.2886, allocations: 71.77 kB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2887, allocations: 143.3 kB / 435.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.2891, allocations: 390.3 kB / 436.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2891, allocations: 0 / 436.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2891, allocations: 7.938 kB / 436.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.2892, allocations: 4 kB / 436.2 MB, free: 1.301 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.0009157/0.2901, allocations: 0.5443 MB / 436.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2901, allocations: 11.98 kB / 436.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.295e-05/0.2902, allocations: 70.72 kB / 436.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.2903, allocations: 40.7 kB / 436.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.2906, allocations: 206.7 kB / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.2907, allocations: 21.03 kB / 437.1 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.2907, allocations: 32.38 kB / 437.1 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.2913, allocations: 337.6 kB / 437.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2913, allocations: 4 kB / 437.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.2913, allocations: 8 kB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.2913, allocations: 16 kB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.2918, allocations: 214.5 kB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.2933, allocations: 0.9058 MB / 438.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.2937, allocations: 158.5 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.294, allocations: 128.7 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.294, allocations: 0 / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.294, allocations: 38.56 kB / 438.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.092e-06/0.294, allocations: 4 kB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005744/0.2946, allocations: 224.5 kB / 439.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2946, allocations: 55.34 kB / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.2948, allocations: 215.1 kB / 439.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2949, allocations: 29.7 kB / 439.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.295, allocations: 196.4 kB / 439.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/0.295, allocations: 75.36 kB / 439.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.2951, allocations: 49.98 kB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2953, allocations: 338.8 kB / 440.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.2955, allocations: 68.52 kB / 440.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.2957, allocations: 143 kB / 440.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.2961, allocations: 237.1 kB / 440.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2961, allocations: 0 / 440.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005068/0.2966, allocations: 269.4 kB / 440.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2966, allocations: 12.03 kB / 440.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2966, allocations: 0 / 440.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2966, allocations: 4 kB / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.2969, allocations: 75.83 kB / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2969, allocations: 7.938 kB / 440.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.2971, allocations: 27.78 kB / 440.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.2971, allocations: 19.98 kB / 440.9 MB, free: 12.29 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.0001366/0.2972, allocations: 142.6 kB / 441.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.2973, allocations: 31.8 kB / 441.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.2977, allocations: 198.9 kB / 441.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2977, allocations: 4 kB / 441.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2977, allocations: 0 / 441.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2977, allocations: 0 / 441.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008557/0.2986, allocations: 0.5497 MB / 441.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2986, allocations: 4.062 kB / 441.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.2989, allocations: 55.95 kB / 441.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2989, allocations: 4 kB / 441.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.2989, allocations: 4 kB / 441.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2989, allocations: 7.938 kB / 441.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2989, allocations: 0 / 441.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/0.2995, allocations: 381.2 kB / 442.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.2995, allocations: 27.97 kB / 442.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.2996, allocations: 12.06 kB / 442.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.2997, allocations: 15.98 kB / 442.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.2998, allocations: 11.97 kB / 442.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2998, allocations: 12 kB / 442.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.2999, allocations: 156.6 kB / 442.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2999, allocations: 0 / 442.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.3003, allocations: 79.78 kB / 442.6 MB, free: 10.52 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.0008804/0.3011, allocations: 0.9083 MB / 443.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.3015, allocations: 163.4 kB / 443.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3015, allocations: 4 kB / 443.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3017, allocations: 80.48 kB / 443.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.3021, allocations: 40.47 kB / 443.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.3057, allocations: 2.818 MB / 446.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.3059, allocations: 155.5 kB / 446.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.842e-05/0.306, allocations: 29.88 kB / 446.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3061, allocations: 91.41 kB / 446.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3061, allocations: 0 / 446.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.3395, allocations: 5.305 MB / 452.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.32, allocations: 4 kB / 452.2 MB, free: 0.8789 MB / 350.1 MB " [Timeout remaining time 649] (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: 14.275927522219718]