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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 68.23 kB / 307.1 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0839/0.0852, allocations: 50.54 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004927/0.09017, allocations: 2.895 MB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.09172, allocations: 0.7244 MB / 361.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.09203, allocations: 4 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.09231, allocations: 63.38 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.09262, allocations: 79.25 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.09304, allocations: 91.83 kB / 361.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005491/0.0936, allocations: 382.9 kB / 361.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.09398, allocations: 164.5 kB / 362 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.09437, allocations: 155.5 kB / 362.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.09461, allocations: 159.3 kB / 362.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.023e-05/0.09468, allocations: 36 kB / 362.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.09476, allocations: 32 kB / 362.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.09484, allocations: 71.77 kB / 362.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.09502, allocations: 179.1 kB / 362.6 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.0954, allocations: 374.9 kB / 363 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.09541, allocations: 0 / 363 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09542, allocations: 0 / 363 MB, free: 8.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.09544, allocations: 0 / 363 MB, free: 8.57 MB / 302.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.0009904/0.09643, allocations: 0.6238 MB / 363.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.09649, allocations: 8.031 kB / 363.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.601e-05/0.09658, allocations: 74.72 kB / 363.7 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.09666, allocations: 40.41 kB / 363.7 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.09697, allocations: 263.8 kB / 364 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.097, allocations: 24.97 kB / 364 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.09706, allocations: 32.38 kB / 364 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.09758, allocations: 286.2 kB / 364.3 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.0976, allocations: 0 / 364.3 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.09764, allocations: 12 kB / 364.3 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.09766, allocations: 8 kB / 364.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.09811, allocations: 210.5 kB / 364.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.09962, allocations: 1.034 MB / 365.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.09995, allocations: 154.6 kB / 365.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.1002, allocations: 136.7 kB / 365.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1003, allocations: 3.938 kB / 365.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1003, allocations: 34.56 kB / 365.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.1003, allocations: 0 / 365.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005739/0.1009, allocations: 224.1 kB / 366.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1009, allocations: 59.34 kB / 366.2 MB, free: 5.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1011, allocations: 219 kB / 366.4 MB, free: 4.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1012, allocations: 29.7 kB / 366.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1013, allocations: 188 kB / 366.6 MB, free: 4.715 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.1014, allocations: 82.92 kB / 366.7 MB, free: 4.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.1014, allocations: 49.98 kB / 366.7 MB, free: 4.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1016, allocations: 330.8 kB / 367 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1017, allocations: 72.45 kB / 367.1 MB, free: 4.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.102, allocations: 143.4 kB / 367.2 MB, free: 4.004 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.1023, allocations: 217.3 kB / 367.5 MB, free: 3.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1024, allocations: 0 / 367.5 MB, free: 3.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004975/0.1029, allocations: 277.1 kB / 367.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1029, allocations: 8.062 kB / 367.7 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1029, allocations: 4 kB / 367.7 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1029, allocations: 4 kB / 367.7 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.1032, allocations: 75.89 kB / 367.8 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1033, allocations: 4 kB / 367.8 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.1034, allocations: 31.73 kB / 367.8 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.1035, allocations: 12 kB / 367.9 MB, free: 3.344 MB / 302.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.0001382/0.1036, allocations: 162.6 kB / 368 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.1037, allocations: 27.59 kB / 368 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.1041, allocations: 198.4 kB / 368.2 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1041, allocations: 8.031 kB / 368.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1041, allocations: 0 / 368.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.1041, allocations: 3.984 kB / 368.3 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008371/0.105, allocations: 0.6013 MB / 368.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.105, allocations: 0 / 368.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.1053, allocations: 55.91 kB / 368.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1053, allocations: 0 / 368.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.1053, allocations: 11.98 kB / 368.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1053, allocations: 0 / 368.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1053, allocations: 0 / 368.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.1059, allocations: 377.2 kB / 369.3 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.106, allocations: 96.91 kB / 369.4 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.106, allocations: 4.062 kB / 369.4 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.1062, allocations: 23.98 kB / 369.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1063, allocations: 7.984 kB / 369.4 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1063, allocations: 8 kB / 369.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1064, allocations: 156.6 kB / 369.6 MB, free: 1.504 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1064, allocations: 0 / 369.6 MB, free: 1.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.1068, allocations: 79.69 kB / 369.7 MB, free: 1.426 MB / 302.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.0008362/0.1076, allocations: 0.9042 MB / 370.6 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.108, allocations: 191.2 kB / 370.7 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.108, allocations: 0 / 370.7 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1082, allocations: 87.78 kB / 370.8 MB, free: 228 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.1086, allocations: 33.22 kB / 370.9 MB, free: 196 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1435/0.2521, allocations: 2.802 MB / 373.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.2524, allocations: 0.7668 MB / 374.4 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.2525, allocations: 29.8 kB / 374.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.2526, allocations: 89.83 kB / 374.6 MB, free: 17.92 MB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2526, allocations: 0 / 374.6 MB, free: 17.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.2765, allocations: 4.545 MB / 379.1 MB, free: 17.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/7.957, allocations: 12.2 kB / 379.1 MB, free: 17.38 MB / 302.1 MB (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches