Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000977/0.000977, allocations: 194 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.5 MB / 244.7 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007437/0.0007438, allocations: 91.64 kB / 296.7 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002034/0.0002034, allocations: 4 kB / 356.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1992, allocations: 51.28 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.002485/0.2017, allocations: 3.156 MB / 411.3 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.2031, allocations: 1.355 MB / 412.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.2033, allocations: 8 kB / 412.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.2036, allocations: 123.3 kB / 412.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006222/0.2042, allocations: 330.2 kB / 413.1 MB, free: 22.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.2048, allocations: 463 kB / 413.5 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.2051, allocations: 414.1 kB / 413.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008994/0.2061, allocations: 0.6767 MB / 414.6 MB, free: 21.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.2063, allocations: 179.3 kB / 414.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.2065, allocations: 231 kB / 415 MB, free: 20.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.2065, allocations: 20 kB / 415 MB, free: 20.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.2068, allocations: 179.8 kB / 415.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.2068, allocations: 79.67 kB / 415.3 MB, free: 20.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.207, allocations: 220.7 kB / 415.5 MB, free: 20.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.2073, allocations: 0.5154 MB / 416 MB, free: 19.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2073, allocations: 0 / 416 MB, free: 19.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2074, allocations: 0 / 416 MB, free: 19.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2074, allocations: 0 / 416 MB, free: 19.77 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001579/0.2089, allocations: 0.8219 MB / 416.8 MB, free: 18.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.209, allocations: 8.031 kB / 416.9 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.2091, allocations: 103.9 kB / 417 MB, free: 18.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/0.2121, allocations: 0.4959 MB / 417.5 MB, free: 18.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.2124, allocations: 307.6 kB / 417.8 MB, free: 17.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.2124, allocations: 37.69 kB / 417.8 MB, free: 17.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.2125, allocations: 56.38 kB / 417.8 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008431/0.2134, allocations: 0.5179 MB / 418.4 MB, free: 17.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.2134, allocations: 4 kB / 418.4 MB, free: 17.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.2135, allocations: 20 kB / 418.4 MB, free: 17.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2135, allocations: 19.94 kB / 418.4 MB, free: 17.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008309/0.2143, allocations: 0.5712 MB / 419 MB, free: 16.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.2165, allocations: 1.972 MB / 420.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.218, allocations: 2.191 MB / 423.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.2183, allocations: 214.1 kB / 423.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.245e-05/0.2184, allocations: 174.6 kB / 423.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.2184, allocations: 35 kB / 423.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.833e-06/0.2184, allocations: 0 / 423.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001639/0.2201, allocations: 0.8051 MB / 424.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.2201, allocations: 59.78 kB / 424.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2202, allocations: 187.5 kB / 424.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2203, allocations: 29.7 kB / 424.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.2203, allocations: 224.3 kB / 424.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.2204, allocations: 165.7 kB / 425 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.2204, allocations: 8 kB / 425 MB, free: 10.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.2205, allocations: 334.8 kB / 425.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.2208, allocations: 157 kB / 425.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.221, allocations: 224.8 kB / 425.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.2216, allocations: 407.4 kB / 426.1 MB, free: 8.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2216, allocations: 0 / 426.1 MB, free: 8.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008034/0.2224, allocations: 0.5473 MB / 426.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2224, allocations: 8 kB / 426.7 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2225, allocations: 4 kB / 426.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/0.2228, allocations: 88.8 kB / 426.8 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.2231, allocations: 99.81 kB / 426.9 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.2245, allocations: 1.846 MB / 428.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.2247, allocations: 43.53 kB / 428.7 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.2248, allocations: 23.92 kB / 428.8 MB, free: 6.078 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.2249, allocations: 173.7 kB / 428.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.225, allocations: 23.72 kB / 429 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009129/0.2259, allocations: 0.5512 MB / 429.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2259, allocations: 8 kB / 429.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2259, allocations: 4 kB / 429.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2259, allocations: 3.984 kB / 429.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.2273, allocations: 1.137 MB / 430.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2273, allocations: 0 / 430.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.2276, allocations: 79.91 kB / 430.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002376/0.2278, allocations: 92.73 kB / 430.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.2278, allocations: 8 kB / 430.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.2291, allocations: 1.835 MB / 432.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2292, allocations: 3.984 kB / 432.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.2303, allocations: 0.8041 MB / 433.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.2303, allocations: 112.6 kB / 433.6 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.2304, allocations: 12 kB / 433.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.2306, allocations: 27.92 kB / 433.6 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.824e-05/0.2307, allocations: 40.27 kB / 433.7 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.2307, allocations: 12.06 kB / 433.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.675e-05/0.2308, allocations: 136.2 kB / 433.8 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2308, allocations: 0 / 433.8 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000521/0.2313, allocations: 151.6 kB / 434 MB, free: 0.6289 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/0.2329, allocations: 1.372 MB / 435.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.2339, allocations: 0.5776 MB / 435.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2339, allocations: 448 / 435.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.2345, allocations: 396.8 kB / 436.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.2348, allocations: 27.94 kB / 436.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.238, allocations: 2.171 MB / 438.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.2384, allocations: 0.8122 MB / 439.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.2386, allocations: 131.4 kB / 439.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2386, allocations: 4 kB / 439.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.027/3.265, allocations: 7.293 MB / 446.7 MB, free: 3.691 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches