Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.ResonanceCircuits,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",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.002353/0.002353, allocations: 111.9 kB / 17.06 MB, free: 5.973 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.002896/0.002896, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.905/2.905, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 51.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6583, allocations: 49.44 MB / 400.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.01253/0.6709, allocations: 5.374 MB / 405.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005943/0.677, allocations: 1.434 MB / 407.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.6793, allocations: 27.81 kB / 407.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.6808, allocations: 217.8 kB / 407.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.6828, allocations: 190 kB / 407.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.6848, allocations: 391.4 kB / 407.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.6875, allocations: 1.126 MB / 409 MB, free: 32 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.6888, allocations: 488.2 kB / 409.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.6898, allocations: 386.3 kB / 409.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007682/0.6906, allocations: 433.6 kB / 410.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.6908, allocations: 87.94 kB / 410.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.6912, allocations: 99.92 kB / 410.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.6915, allocations: 211.1 kB / 410.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007798/0.6923, allocations: 0.4971 MB / 411.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.6943, allocations: 1.173 MB / 412.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.6943, allocations: 4 kB / 412.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.6944, allocations: 0 / 412.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.825e-05/0.6944, allocations: 0 / 412.3 MB, free: 12.65 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00334/0.6977, allocations: 1.305 MB / 413.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001064/0.6979, allocations: 12.03 kB / 413.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003013/0.6982, allocations: 148.2 kB / 413.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.6986, allocations: 130.4 kB / 413.9 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.7005, allocations: 0.642 MB / 414.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.7007, allocations: 85.92 kB / 414.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.701, allocations: 103.9 kB / 414.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/0.7043, allocations: 1.027 MB / 415.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.549e-05/0.7044, allocations: 7.938 kB / 415.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.7046, allocations: 44 kB / 415.8 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/0.7046, allocations: 28 kB / 415.9 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.7067, allocations: 0.5578 MB / 416.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.7189, allocations: 5.489 MB / 421.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.7201, allocations: 236.9 kB / 422.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.7207, allocations: 153.6 kB / 422.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000338/0.7211, allocations: 89.36 kB / 422.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.7212, allocations: 30.56 kB / 422.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 7.233e-06/0.7212, allocations: 0 / 422.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.007562/0.7288, allocations: 1.714 MB / 424.1 MB, free: 212 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.7289, allocations: 92.98 kB / 424.2 MB, free: 100 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.7306, allocations: 0.6372 MB / 424.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.7306, allocations: 29.7 kB / 424.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008449/0.7315, allocations: 0.6026 MB / 425.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.7318, allocations: 146 kB / 425.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.7322, allocations: 138.5 kB / 425.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0004255/0.7326, allocations: 382.8 kB / 426.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/0.7332, allocations: 149.9 kB / 426.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.7344, allocations: 0.4933 MB / 426.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.7366, allocations: 0.7036 MB / 427.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-05/0.7366, allocations: 4 kB / 427.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002986/0.7396, allocations: 0.7035 MB / 428.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.7397, allocations: 14.97 kB / 428.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.198e-05/0.7398, allocations: 15.94 kB / 428.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-05/0.7398, allocations: 16 kB / 428.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.7413, allocations: 204.2 kB / 428.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.103e-05/0.7414, allocations: 19.94 kB / 428.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.7424, allocations: 35.98 kB / 428.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-05/0.7425, allocations: 36 kB / 428.5 MB, free: 11.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.001456/0.744, allocations: 229.5 kB / 428.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/0.7444, allocations: 75.06 kB / 428.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.745, allocations: 70.55 kB / 428.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.745, allocations: 7.938 kB / 428.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.479e-05/0.7451, allocations: 8 kB / 428.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.7451, allocations: 3.984 kB / 428.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00478/0.7499, allocations: 1.325 MB / 430.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.7499, allocations: 0 / 430.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007181/0.7506, allocations: 103.9 kB / 430.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.419e-05/0.7507, allocations: 7.938 kB / 430.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.7507, allocations: 8 kB / 430.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.7508, allocations: 4.156 kB / 430.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.7508, allocations: 8 kB / 430.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.7525, allocations: 0.6969 MB / 431.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/0.7532, allocations: 144.1 kB / 431.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.7534, allocations: 12 kB / 431.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/0.7541, allocations: 19.98 kB / 431.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.7543, allocations: 31.95 kB / 431.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.7544, allocations: 12 kB / 431.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001289/0.7557, allocations: 423 kB / 431.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7557, allocations: 0 / 431.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001783/0.7575, allocations: 140 kB / 431.8 MB, free: 7.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.00309/0.7606, allocations: 1.254 MB / 433.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.7626, allocations: 445 kB / 433.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.7626, allocations: 3.938 kB / 433.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006686/0.7633, allocations: 161.2 kB / 433.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.7648, allocations: 74.36 kB / 433.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02424/0.789, allocations: 6.084 MB / 439.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.7906, allocations: 1.004 MB / 440.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005127/0.7912, allocations: 94 kB / 440.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008455/0.7921, allocations: 395.2 kB / 441.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.314e-06/0.7921, allocations: 0 / 441.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/0.92, allocations: 11.79 MB / 453.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.01/21.93, allocations: 15.84 kB / 453.1 MB, free: 2.262 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches