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.00102/0.00102, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.001097/0.001097, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.376/1.376, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003273, allocations: 8 kB / 301.5 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1189, allocations: 50.41 MB / 351.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006007/0.1249, allocations: 4.91 MB / 356.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.1282, allocations: 1.403 MB / 358.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005316/0.1288, allocations: 23.88 kB / 358.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.1293, allocations: 162.6 kB / 358.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.1298, allocations: 158.6 kB / 358.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.1307, allocations: 331.6 kB / 358.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.1319, allocations: 1.072 MB / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006624/0.1325, allocations: 427.4 kB / 360.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/0.1331, allocations: 334.3 kB / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.1336, allocations: 361.6 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.248e-05/0.1337, allocations: 44 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1338, allocations: 55.94 kB / 361.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.134, allocations: 159.1 kB / 361.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003949/0.1344, allocations: 470.7 kB / 361.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009672/0.1354, allocations: 1.012 MB / 362.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1354, allocations: 0 / 362.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1354, allocations: 0 / 362.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1354, allocations: 0 / 362.8 MB, free: 8.641 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00179/0.1372, allocations: 1.122 MB / 363.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.1373, allocations: 8.031 kB / 363.9 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.1374, allocations: 152.2 kB / 364.1 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.1376, allocations: 130.4 kB / 364.2 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008646/0.1385, allocations: 0.6146 MB / 364.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/0.1386, allocations: 77.94 kB / 364.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.1387, allocations: 100 kB / 365 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.1405, allocations: 1.035 MB / 366 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.1405, allocations: 7.938 kB / 366 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/0.1406, allocations: 44 kB / 366.1 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.1406, allocations: 24 kB / 366.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.1418, allocations: 0.5618 MB / 366.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.197/0.3389, allocations: 5.524 MB / 372.2 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.3397, allocations: 243.5 kB / 372.4 MB, free: 20.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.3401, allocations: 156.5 kB / 372.6 MB, free: 20.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.3403, allocations: 87.19 kB / 372.7 MB, free: 20.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.3404, allocations: 42 kB / 372.7 MB, free: 20.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 3.106e-06/0.3404, allocations: 0.8125 kB / 372.7 MB, free: 20.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004409/0.3448, allocations: 1.78 MB / 374.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3449, allocations: 85.06 kB / 374.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/0.3458, allocations: 0.6296 MB / 375.2 MB, free: 19.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3459, allocations: 34.95 kB / 375.2 MB, free: 19.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.3463, allocations: 0.5934 MB / 375.8 MB, free: 18.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.3464, allocations: 152.9 kB / 376 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3465, allocations: 61.81 kB / 376 MB, free: 18.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3467, allocations: 388.9 kB / 376.4 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.3471, allocations: 158.3 kB / 376.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.3477, allocations: 0.5011 MB / 377.1 MB, free: 18.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009909/0.3487, allocations: 0.71 MB / 377.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.3487, allocations: 2.75 kB / 377.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001308/0.3501, allocations: 0.7345 MB / 378.5 MB, free: 17.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.3501, allocations: 16.53 kB / 378.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.3501, allocations: 11.83 kB / 378.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/0.3502, allocations: 17.19 kB / 378.6 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.3509, allocations: 202.8 kB / 378.8 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.352e-05/0.3509, allocations: 26.08 kB / 378.8 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.3513, allocations: 44.52 kB / 378.8 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.3514, allocations: 35.36 kB / 378.9 MB, free: 17.37 MB / 302.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.0002971/0.3517, allocations: 228.9 kB / 379.1 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.3518, allocations: 83.06 kB / 379.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.352, allocations: 77.38 kB / 379.3 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.352, allocations: 4.594 kB / 379.3 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.352, allocations: 5.672 kB / 379.3 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.352, allocations: 1.922 kB / 379.3 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.3542, allocations: 1.352 MB / 380.6 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3543, allocations: 5.281 kB / 380.6 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.3547, allocations: 111.1 kB / 380.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.3547, allocations: 2.219 kB / 380.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.3548, allocations: 10.36 kB / 380.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.3548, allocations: 8.094 kB / 380.8 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3548, allocations: 2 kB / 380.8 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009678/0.3558, allocations: 0.7242 MB / 381.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.3559, allocations: 146 kB / 381.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.3559, allocations: 9.359 kB / 381.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.3562, allocations: 29.52 kB / 381.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/0.3563, allocations: 31.06 kB / 381.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.3564, allocations: 15.06 kB / 381.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000461/0.3569, allocations: 420.1 kB / 382.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3569, allocations: 0 / 382.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006438/0.3575, allocations: 141 kB / 382.3 MB, free: 15.56 MB / 302.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.001171/0.3587, allocations: 1.276 MB / 383.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008058/0.3595, allocations: 455.9 kB / 384 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3595, allocations: 0 / 384 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.3598, allocations: 168.2 kB / 384.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.3605, allocations: 73.81 kB / 384.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008066/0.3686, allocations: 6.909 MB / 391.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.3691, allocations: 0.9995 MB / 392.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003278/0.3695, allocations: 96.61 kB / 392.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.3699, allocations: 393.6 kB / 392.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3699, allocations: 0 / 392.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.3916, allocations: 10.8 MB / 403.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.3918, allocations: 210.7 kB / 403.6 MB, free: 1.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/2.741, allocations: 0 / 403.6 MB, free: 1.07 MB / 302.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