Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001338/0.001338, 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.001431/0.001431, allocations: 201.2 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 44.06 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 53.38 MB / 431.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004249/0.2852, allocations: 2.7 MB / 433.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2865, allocations: 0.6794 MB / 434.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.2866, allocations: 11.94 kB / 434.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.2868, allocations: 59.42 kB / 434.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.287, allocations: 87.2 kB / 434.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.2873, allocations: 91.81 kB / 434.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.2877, allocations: 378.4 kB / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.2879, allocations: 109.8 kB / 435.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.2882, allocations: 159.4 kB / 435.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.2884, allocations: 155.3 kB / 435.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.2885, allocations: 32 kB / 435.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.789e-05/0.2885, allocations: 32 kB / 435.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.2886, allocations: 67.77 kB / 435.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.2887, allocations: 143.4 kB / 435.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.2892, allocations: 382.4 kB / 436.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2892, allocations: 7.938 kB / 436.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2892, allocations: 0 / 436.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2892, allocations: 0 / 436.2 MB, free: 1.691 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.0009726/0.2901, allocations: 0.5326 MB / 436.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2902, allocations: 11.97 kB / 436.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.579e-05/0.2903, allocations: 78.66 kB / 436.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.2903, allocations: 36.7 kB / 436.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.2907, allocations: 214.7 kB / 437 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.2907, allocations: 21.03 kB / 437 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.2908, allocations: 32.38 kB / 437.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.2913, allocations: 333.6 kB / 437.4 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2913, allocations: 0 / 437.4 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.2914, allocations: 8 kB / 437.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2914, allocations: 8 kB / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.2918, allocations: 202.5 kB / 437.6 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.2933, allocations: 0.8707 MB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.2936, allocations: 158.6 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.2938, allocations: 68.83 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.2938, allocations: 0 / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.2938, allocations: 38.55 kB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.92e-07/0.2938, allocations: 0 / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000542/0.2944, allocations: 217.6 kB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2944, allocations: 55.41 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.2946, allocations: 214.7 kB / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.2946, allocations: 25.7 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.2948, allocations: 196.4 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.2948, allocations: 71.42 kB / 439.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.2949, allocations: 41.7 kB / 439.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.295, allocations: 338.8 kB / 439.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2952, allocations: 59.97 kB / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.2954, allocations: 122 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.2958, allocations: 185.7 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2958, allocations: 3.938 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004548/0.2962, allocations: 249.3 kB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2962, allocations: 6.5 kB / 440.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2962, allocations: 4 kB / 440.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2963, allocations: 0 / 440.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.2965, allocations: 59.91 kB / 440.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2965, allocations: 4 kB / 440.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.2967, allocations: 39.7 kB / 440.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2967, allocations: 16.06 kB / 440.6 MB, free: 12.96 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.0001402/0.2968, allocations: 141.8 kB / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.2969, allocations: 15.91 kB / 440.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.2973, allocations: 193.9 kB / 441 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2973, allocations: 0 / 441 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2973, allocations: 0 / 441 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2973, allocations: 0 / 441 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.2977, allocations: 276.5 kB / 441.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2977, allocations: 4 kB / 441.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.2979, allocations: 55.91 kB / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2979, allocations: 0 / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.2979, allocations: 4 kB / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.298, allocations: 0 / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.298, allocations: 0 / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.2985, allocations: 347.2 kB / 441.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.2986, allocations: 27.84 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.2986, allocations: 8.062 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.2988, allocations: 16.03 kB / 441.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.2988, allocations: 19.91 kB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.2988, allocations: 11.98 kB / 441.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.299, allocations: 144.6 kB / 441.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.299, allocations: 0 / 441.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000325/0.2993, allocations: 79.78 kB / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.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 (19): * Single equations (assignments): 19 * 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.0008679/0.3002, allocations: 0.8828 MB / 442.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.3005, allocations: 155.8 kB / 443 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3005, allocations: 0 / 443 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3007, allocations: 67.91 kB / 443 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.301, allocations: 32.19 kB / 443.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.3048, allocations: 2.715 MB / 445.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.3049, allocations: 159.1 kB / 445.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.528e-05/0.305, allocations: 17.94 kB / 446 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3052, allocations: 99.41 kB / 446.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3052, allocations: 0 / 446.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.3389, allocations: 5.264 MB / 451.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.08, allocations: 10.75 kB / 451.3 MB, free: 2.191 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_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_SeriesResonance.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sineVoltage.phi in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.csv. Warning: Get data of variable sineVoltage.phi from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.900583481998183]