Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008547/0.0008577, allocations: 97.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 200.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000204/0.0002039, allocations: 8 kB / 307.8 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07818/0.07841, allocations: 51.52 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.002613/0.08105, allocations: 2.574 MB / 361.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.08217, allocations: 0.6972 MB / 362.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.08235, allocations: 7.938 kB / 362.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.08251, allocations: 43.69 kB / 362.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.08268, allocations: 75.38 kB / 362.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.08291, allocations: 79.92 kB / 362.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.08324, allocations: 354.4 kB / 363.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.08346, allocations: 140.8 kB / 363.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.08368, allocations: 115.5 kB / 363.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.08386, allocations: 139.3 kB / 363.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.0839, allocations: 16 kB / 363.6 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.08395, allocations: 16 kB / 363.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.084, allocations: 55.75 kB / 363.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.08413, allocations: 172.9 kB / 363.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.08442, allocations: 362.8 kB / 364.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.08443, allocations: 0 / 364.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.08444, allocations: 0 / 364.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.08445, allocations: 0 / 364.2 MB, free: 8.332 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.0007802/0.08524, allocations: 0.5615 MB / 364.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.08528, allocations: 8.031 kB / 364.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.339e-05/0.08537, allocations: 74.66 kB / 364.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.08545, allocations: 40.47 kB / 364.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.08572, allocations: 263.8 kB / 365.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.08575, allocations: 21.03 kB / 365.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.0858, allocations: 32.38 kB / 365.2 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.08631, allocations: 286.2 kB / 365.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.08633, allocations: 0 / 365.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.08636, allocations: 12 kB / 365.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.08637, allocations: 8 kB / 365.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.08681, allocations: 214.5 kB / 365.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.08813, allocations: 0.9907 MB / 366.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.08844, allocations: 178.6 kB / 366.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.08861, allocations: 76.83 kB / 366.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.08864, allocations: 11.94 kB / 366.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.08867, allocations: 30.56 kB / 367 MB, free: 5.352 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.08868, allocations: 4 kB / 367 MB, free: 5.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005275/0.08921, allocations: 228.2 kB / 367.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.08926, allocations: 59.41 kB / 367.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.08945, allocations: 214.8 kB / 367.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.08948, allocations: 25.7 kB / 367.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/0.08958, allocations: 192 kB / 367.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.08963, allocations: 63.09 kB / 367.7 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.08967, allocations: 29.7 kB / 367.8 MB, free: 4.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.08977, allocations: 330.8 kB / 368.1 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.08995, allocations: 71.97 kB / 368.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.09013, allocations: 117.9 kB / 368.3 MB, free: 3.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.09047, allocations: 193.8 kB / 368.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.09048, allocations: 11.94 kB / 368.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004367/0.09093, allocations: 245.2 kB / 368.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.09095, allocations: 4 kB / 368.7 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.09096, allocations: 4.125 kB / 368.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.09098, allocations: 4 kB / 368.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.09124, allocations: 71.89 kB / 368.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.09125, allocations: 4 kB / 368.8 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.0914, allocations: 31.67 kB / 368.8 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.09142, allocations: 11.94 kB / 368.8 MB, free: 3.375 MB / 302.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.0001073/0.09153, allocations: 138.9 kB / 369 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.09158, allocations: 23.81 kB / 369 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.09197, allocations: 199.4 kB / 369.2 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.09198, allocations: 4 kB / 369.2 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.09199, allocations: 0 / 369.2 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.092, allocations: 4 kB / 369.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.09232, allocations: 325.3 kB / 369.5 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.09232, allocations: 0 / 369.5 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.09258, allocations: 55.91 kB / 369.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.09259, allocations: 0 / 369.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.09261, allocations: 8 kB / 369.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.09262, allocations: 0 / 369.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.09263, allocations: 3.938 kB / 369.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.09316, allocations: 365.5 kB / 369.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.09322, allocations: 100.9 kB / 370 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.09326, allocations: 4 kB / 370 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.09343, allocations: 23.98 kB / 370.1 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.09348, allocations: 7.984 kB / 370.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.0935, allocations: 8 kB / 370.1 MB, free: 2.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.09361, allocations: 152.5 kB / 370.2 MB, free: 1.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09362, allocations: 0 / 370.2 MB, free: 1.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.09392, allocations: 71.75 kB / 370.3 MB, free: 1.812 MB / 302.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.0007531/0.09468, allocations: 0.9099 MB / 371.2 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.09505, allocations: 171.8 kB / 371.4 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.09506, allocations: 8.25 kB / 371.4 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.09522, allocations: 79.89 kB / 371.5 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.09554, allocations: 23.95 kB / 371.5 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1355/0.2311, allocations: 2.944 MB / 374.4 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.2313, allocations: 0.7655 MB / 375.2 MB, free: 17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.2314, allocations: 20.81 kB / 375.2 MB, free: 17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.2315, allocations: 97.05 kB / 375.3 MB, free: 16.99 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2316, allocations: 3.812 kB / 375.3 MB, free: 16.99 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.2455, allocations: 4.087 MB / 379.4 MB, free: 16.77 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.2457, allocations: 204.9 kB / 379.6 MB, free: 16.51 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.944, allocations: 3.375 kB / 379.6 MB, free: 16.51 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches