Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007392/0.0007392, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008377/0.0008377, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9117/0.9117, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.489e-05, allocations: 5.234 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005976/0.006001, allocations: 4.78 MB / 329.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.008768, allocations: 1.484 MB / 330.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004383/0.009206, allocations: 35.69 kB / 330.9 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.009578, allocations: 217.8 kB / 331.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004605/0.01004, allocations: 209.8 kB / 331.3 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.01079, allocations: 423.2 kB / 331.7 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008793/0.01167, allocations: 1.149 MB / 332.9 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.01208, allocations: 320.8 kB / 333.2 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.01273, allocations: 0.5923 MB / 333.8 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.01302, allocations: 290.9 kB / 334.1 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.597e-05/0.01311, allocations: 84 kB / 334.2 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.01326, allocations: 104 kB / 334.3 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.01337, allocations: 211 kB / 334.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.01358, allocations: 323 kB / 334.8 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000824/0.0144, allocations: 1.171 MB / 336 MB, free: 4.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.0144, allocations: 0 / 336 MB, free: 4.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.0144, allocations: 0 / 336 MB, free: 4.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.01442, allocations: 0 / 336 MB, free: 4.477 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001634/0.01606, allocations: 1.263 MB / 337.2 MB, free: 3.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.0161, allocations: 12.03 kB / 337.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.01621, allocations: 152.2 kB / 337.4 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.01642, allocations: 151.1 kB / 337.5 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.01707, allocations: 0.5704 MB / 338.1 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.01711, allocations: 77.94 kB / 338.2 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/0.01719, allocations: 100 kB / 338.3 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.01825, allocations: 1.085 MB / 339.4 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.01827, allocations: 15.89 kB / 339.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.01832, allocations: 44 kB / 339.4 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.01834, allocations: 24 kB / 339.4 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007622/0.0191, allocations: 0.5539 MB / 340 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.02241, allocations: 5.229 MB / 345.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.02275, allocations: 228.9 kB / 345.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.02294, allocations: 153.6 kB / 345.6 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.151e-05/0.02302, allocations: 15.94 kB / 345.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.02304, allocations: 34.5 kB / 345.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.02305, allocations: 0 / 345.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.002428/0.02547, allocations: 1.595 MB / 347.2 MB, free: 8.613 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.02551, allocations: 85.09 kB / 347.3 MB, free: 8.512 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.02597, allocations: 0.6567 MB / 348 MB, free: 7.844 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.02599, allocations: 29.7 kB / 348 MB, free: 7.809 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.02625, allocations: 0.6161 MB / 348.6 MB, free: 7.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.689e-05/0.02632, allocations: 154.8 kB / 348.8 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.02643, allocations: 134.6 kB / 348.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.02654, allocations: 386.7 kB / 349.3 MB, free: 6.508 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.02672, allocations: 153.9 kB / 349.4 MB, free: 6.359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.02705, allocations: 0.4935 MB / 349.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005663/0.02762, allocations: 0.7031 MB / 350.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.02762, allocations: 4 kB / 350.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009612/0.02858, allocations: 0.712 MB / 351.3 MB, free: 4.113 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.0286, allocations: 12.19 kB / 351.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.02861, allocations: 19.94 kB / 351.4 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.02863, allocations: 16 kB / 351.4 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.02896, allocations: 191.7 kB / 351.6 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.02898, allocations: 23.92 kB / 351.6 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.02916, allocations: 39.92 kB / 351.6 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.02919, allocations: 40 kB / 351.7 MB, free: 3.777 MB / 314.7 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.0001841/0.02937, allocations: 229.5 kB / 351.9 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.02943, allocations: 79.48 kB / 352 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.037e-05/0.0295, allocations: 78.61 kB / 352.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.02951, allocations: 4 kB / 352.1 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.02952, allocations: 4 kB / 352.1 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.02952, allocations: 3.984 kB / 352.1 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.03068, allocations: 1.238 MB / 353.3 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.03068, allocations: 4 kB / 353.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.03091, allocations: 103.9 kB / 353.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.03091, allocations: 4 kB / 353.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.03093, allocations: 15.92 kB / 353.4 MB, free: 1.945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.03094, allocations: 4 kB / 353.4 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.03094, allocations: 20.02 kB / 353.5 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.03154, allocations: 0.6935 MB / 354.1 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.03159, allocations: 71.52 kB / 354.2 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.03163, allocations: 11.94 kB / 354.2 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.03177, allocations: 23.98 kB / 354.3 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.03183, allocations: 31.89 kB / 354.3 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.03184, allocations: 19.98 kB / 354.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002866/0.03213, allocations: 423 kB / 354.7 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03213, allocations: 0 / 354.7 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003662/0.0325, allocations: 136 kB / 354.8 MB, free: 0.4961 MB / 314.7 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.0007714/0.03327, allocations: 1.258 MB / 356.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004418/0.03371, allocations: 411.9 kB / 356.5 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.03371, allocations: 0 / 356.5 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.03387, allocations: 145.2 kB / 356.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.0342, allocations: 82.31 kB / 356.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/0.03944, allocations: 6.029 MB / 362.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.03969, allocations: 421.4 kB / 363.2 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.03992, allocations: 94.05 kB / 363.3 MB, free: 7.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.04021, allocations: 392.4 kB / 363.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04022, allocations: 0 / 363.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.06449, allocations: 12.57 MB / 376.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.154, allocations: 7.844 kB / 376.2 MB, free: 10.79 MB / 346.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.113369844853878]