Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000848/0.000848, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009113/0.0009113, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8804/0.8804, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 324.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.896e-05, allocations: 3.266 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.004198/0.004217, allocations: 4.781 MB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.006017, allocations: 1.484 MB / 330.8 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.006274, allocations: 35.69 kB / 330.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.006571, allocations: 217.8 kB / 331.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.006902, allocations: 209.8 kB / 331.3 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.007418, allocations: 419.2 kB / 331.7 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00096/0.008378, allocations: 1.157 MB / 332.8 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/0.008729, allocations: 316.8 kB / 333.1 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004742/0.009203, allocations: 0.5962 MB / 333.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.009438, allocations: 290.9 kB / 334 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.067e-05/0.009509, allocations: 80 kB / 334.1 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.009632, allocations: 100 kB / 334.2 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.543e-05/0.009727, allocations: 219 kB / 334.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.009901, allocations: 319 kB / 334.7 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007282/0.01063, allocations: 1.171 MB / 335.9 MB, free: 4.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01063, allocations: 3.938 kB / 335.9 MB, free: 4.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01064, allocations: 0 / 335.9 MB, free: 4.426 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.01064, allocations: 4 kB / 335.9 MB, free: 4.422 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.001153/0.0118, allocations: 1.256 MB / 337.2 MB, free: 3.129 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.01184, allocations: 11.98 kB / 337.2 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.01195, allocations: 152.2 kB / 337.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.01217, allocations: 151.1 kB / 337.5 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.0129, allocations: 0.5704 MB / 338 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.01294, allocations: 74 kB / 338.1 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.01302, allocations: 104 kB / 338.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.01409, allocations: 1.081 MB / 339.3 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.01412, allocations: 15.88 kB / 339.3 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.01417, allocations: 44 kB / 339.4 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.01418, allocations: 28 kB / 339.4 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009604/0.01514, allocations: 0.5539 MB / 339.9 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.01823, allocations: 5.228 MB / 345.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.01861, allocations: 228.9 kB / 345.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.01883, allocations: 142.5 kB / 345.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.893e-05/0.01893, allocations: 15.98 kB / 345.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.01895, allocations: 38.5 kB / 345.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.01895, allocations: 0 / 345.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.002806/0.02176, allocations: 1.593 MB / 347.2 MB, free: 8.562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.0218, allocations: 81.11 kB / 347.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.02228, allocations: 0.6606 MB / 347.9 MB, free: 7.793 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.0223, allocations: 33.64 kB / 347.9 MB, free: 7.754 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.02256, allocations: 0.6161 MB / 348.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.02263, allocations: 154.8 kB / 348.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.02274, allocations: 134.6 kB / 348.8 MB, free: 6.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.02286, allocations: 386.7 kB / 349.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.02306, allocations: 153.9 kB / 349.4 MB, free: 6.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.02339, allocations: 0.4935 MB / 349.9 MB, free: 5.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.02397, allocations: 0.6987 MB / 350.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.02397, allocations: 4 kB / 350.6 MB, free: 4.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007069/0.02468, allocations: 0.7198 MB / 351.3 MB, free: 4.059 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.0247, allocations: 8 kB / 351.3 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.02471, allocations: 12 kB / 351.3 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.02473, allocations: 19.94 kB / 351.3 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.02508, allocations: 195.7 kB / 351.5 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.0251, allocations: 27.91 kB / 351.5 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.02529, allocations: 32.09 kB / 351.6 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.02532, allocations: 47.98 kB / 351.6 MB, free: 3.723 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.0002055/0.02553, allocations: 229.5 kB / 351.8 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.02559, allocations: 83.48 kB / 351.9 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.02567, allocations: 70.69 kB / 352 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.02567, allocations: 11.98 kB / 352 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.02568, allocations: 0 / 352 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.02568, allocations: 0 / 352 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.02691, allocations: 1.25 MB / 353.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.02691, allocations: 0 / 353.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.02714, allocations: 103.9 kB / 353.4 MB, free: 1.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.02715, allocations: 4 kB / 353.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.02717, allocations: 16.09 kB / 353.4 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.02717, allocations: 4 kB / 353.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.02717, allocations: 3.938 kB / 353.4 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.0282, allocations: 0.7002 MB / 354.1 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.02825, allocations: 67.48 kB / 354.2 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.02829, allocations: 15.88 kB / 354.2 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.02844, allocations: 27.98 kB / 354.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.02849, allocations: 27.94 kB / 354.2 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.02851, allocations: 16 kB / 354.2 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003073/0.02882, allocations: 427 kB / 354.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02882, allocations: 0 / 354.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004112/0.02923, allocations: 136 kB / 354.8 MB, free: 460 kB / 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.0007963/0.03002, allocations: 1.254 MB / 356 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.03051, allocations: 417 kB / 356.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.03051, allocations: 4 kB / 356.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.03067, allocations: 139.2 kB / 356.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.03105, allocations: 83.23 kB / 356.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/0.03639, allocations: 6.037 MB / 362.7 MB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.03666, allocations: 413.4 kB / 363.1 MB, free: 7.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.03684, allocations: 94.06 kB / 363.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.03714, allocations: 392.3 kB / 363.6 MB, free: 7.094 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03714, allocations: 0 / 363.6 MB, free: 7.094 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.06153, allocations: 12.57 MB / 376.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/6.967, allocations: 7.797 kB / 376.2 MB, free: 10.7 MB / 346.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.871206966228783]