Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 112 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 193.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 43.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2801, allocations: 49.45 MB / 400.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004248/0.2844, allocations: 2.882 MB / 403.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2856, allocations: 0.6738 MB / 403.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.2857, allocations: 8 kB / 403.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.2859, allocations: 59.38 kB / 403.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.2861, allocations: 87.2 kB / 404 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.2865, allocations: 99.8 kB / 404.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.2869, allocations: 386.8 kB / 404.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.2872, allocations: 168.5 kB / 404.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.2875, allocations: 147.5 kB / 404.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2877, allocations: 147.3 kB / 404.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.2877, allocations: 36 kB / 404.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.901e-05/0.2878, allocations: 32 kB / 405 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.2879, allocations: 83.73 kB / 405 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.2881, allocations: 167.2 kB / 405.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.2885, allocations: 393.3 kB / 405.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2885, allocations: 0 / 405.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2886, allocations: 0 / 405.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.2886, allocations: 0 / 405.6 MB, free: 3.461 MB / 318.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.001022/0.2896, allocations: 0.6235 MB / 406.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2896, allocations: 12.03 kB / 406.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.2897, allocations: 66.72 kB / 406.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.2898, allocations: 40.7 kB / 406.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.2902, allocations: 271.8 kB / 406.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2903, allocations: 21.03 kB / 406.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.2903, allocations: 44.31 kB / 406.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.2909, allocations: 286.2 kB / 406.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.291, allocations: 0 / 406.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.291, allocations: 12 kB / 406.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.291, allocations: 8 kB / 407 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.2915, allocations: 210.5 kB / 407.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2933, allocations: 1.03 MB / 408.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.2936, allocations: 154.5 kB / 408.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.2939, allocations: 135.5 kB / 408.5 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.294, allocations: 0 / 408.5 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.294, allocations: 42.56 kB / 408.5 MB, free: 340 kB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.123e-06/0.294, allocations: 0 / 408.5 MB, free: 340 kB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006055/0.2946, allocations: 217.8 kB / 408.7 MB, free: 116 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.2947, allocations: 63.28 kB / 408.8 MB, free: 40 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.2949, allocations: 215.2 kB / 409 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.295, allocations: 29.7 kB / 409 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.2951, allocations: 196.4 kB / 409.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.2952, allocations: 75.38 kB / 409.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.2953, allocations: 57.94 kB / 409.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.2955, allocations: 326.8 kB / 409.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.2957, allocations: 72.45 kB / 409.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.2959, allocations: 143.4 kB / 409.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.2963, allocations: 229.2 kB / 410.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2964, allocations: 0 / 410.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000513/0.2969, allocations: 273.2 kB / 410.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2969, allocations: 8 kB / 410.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2969, allocations: 4 kB / 410.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2969, allocations: 4 kB / 410.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.2972, allocations: 67.89 kB / 410.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.2972, allocations: 7.938 kB / 410.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2974, allocations: 40.02 kB / 410.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2975, allocations: 12 kB / 410.5 MB, free: 14.2 MB / 334.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.0001381/0.2976, allocations: 141.7 kB / 410.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.2977, allocations: 23.84 kB / 410.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.2981, allocations: 196.9 kB / 410.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2981, allocations: 4 kB / 410.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2981, allocations: 0 / 410.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.2982, allocations: 7.984 kB / 410.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009068/0.2991, allocations: 0.6078 MB / 411.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2991, allocations: 0 / 411.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.2994, allocations: 51.97 kB / 411.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2994, allocations: 0 / 411.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.2994, allocations: 12.05 kB / 411.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2994, allocations: 8 kB / 411.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.2994, allocations: 0 / 411.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.3001, allocations: 380.4 kB / 411.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/0.3002, allocations: 112.9 kB / 412 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.3002, allocations: 4.062 kB / 412 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.3004, allocations: 15.98 kB / 412.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.3004, allocations: 11.98 kB / 412.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3005, allocations: 8 kB / 412.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3006, allocations: 156.6 kB / 412.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3006, allocations: 0 / 412.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.301, allocations: 79.78 kB / 412.3 MB, free: 12.29 MB / 334.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.0009811/0.302, allocations: 0.9173 MB / 413.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.3024, allocations: 175.8 kB / 413.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3024, allocations: 0 / 413.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.3026, allocations: 79.84 kB / 413.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.303, allocations: 41.16 kB / 413.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.3067, allocations: 2.818 MB / 416.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.3072, allocations: 0.7713 MB / 417.1 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.133e-05/0.3073, allocations: 21.95 kB / 417.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.3074, allocations: 92.06 kB / 417.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3074, allocations: 0 / 417.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.3364, allocations: 4.658 MB / 421.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/8.703, allocations: 11.8 kB / 421.9 MB, free: 2.621 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches