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.001943/0.001943, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002533/0.002533, allocations: 207.1 kB / 23.73 MB, free: 4.391 MB / 14.72 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 1.535/1.535, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00212/0.00212, allocations: 63.89 kB / 377.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3039, allocations: 53.41 MB / 431.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006569/0.3104, allocations: 4.779 MB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.3134, allocations: 1.473 MB / 437.4 MB, free: 168 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.3138, allocations: 39.69 kB / 437.5 MB, free: 128 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004803/0.3142, allocations: 217.8 kB / 437.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000493/0.3147, allocations: 198 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007978/0.3155, allocations: 419.3 kB / 438.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.3167, allocations: 1.126 MB / 439.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005892/0.3173, allocations: 314.6 kB / 439.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005602/0.3178, allocations: 410.3 kB / 440.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.3183, allocations: 381.4 kB / 440.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.3184, allocations: 87.98 kB / 440.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.3186, allocations: 100 kB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.3188, allocations: 215.1 kB / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.3191, allocations: 409.7 kB / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.3203, allocations: 1.197 MB / 442.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3203, allocations: 0 / 442.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3203, allocations: 0 / 442.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.3203, allocations: 0 / 442.5 MB, free: 11.06 MB / 350.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.001914/0.3223, allocations: 1.275 MB / 443.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3223, allocations: 11.98 kB / 443.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.3225, allocations: 152.2 kB / 443.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/0.3228, allocations: 151.1 kB / 444.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.3239, allocations: 0.582 MB / 444.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.324, allocations: 77.94 kB / 444.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.3241, allocations: 96 kB / 444.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.3258, allocations: 1.077 MB / 445.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.3258, allocations: 7.891 kB / 445.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.3259, allocations: 47.98 kB / 445.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.3259, allocations: 28 kB / 446 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3271, allocations: 0.5617 MB / 446.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005488/0.3326, allocations: 5.222 MB / 451.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.3332, allocations: 232.9 kB / 452 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.3336, allocations: 145.7 kB / 452.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.3337, allocations: 12.28 kB / 452.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3337, allocations: 38.55 kB / 452.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.165e-06/0.3337, allocations: 3.938 kB / 452.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004364/0.3381, allocations: 1.589 MB / 453.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.3381, allocations: 85.05 kB / 453.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008245/0.339, allocations: 0.6606 MB / 454.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.339, allocations: 37.7 kB / 454.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005056/0.3395, allocations: 0.6083 MB / 455.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.3397, allocations: 162.7 kB / 455.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.3399, allocations: 142.5 kB / 455.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002562/0.3401, allocations: 382.8 kB / 455.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.3404, allocations: 149.9 kB / 456 MB, free: 12.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.3411, allocations: 0.4932 MB / 456.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3421, allocations: 0.6944 MB / 457.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3422, allocations: 4 kB / 457.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001229/0.3434, allocations: 0.7156 MB / 457.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.3434, allocations: 12 kB / 457.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3434, allocations: 12 kB / 457.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.512e-05/0.3435, allocations: 16 kB / 457.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.3441, allocations: 200.2 kB / 458.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-05/0.3441, allocations: 23.88 kB / 458.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.3445, allocations: 35.98 kB / 458.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.3446, allocations: 43.98 kB / 458.2 MB, free: 10.35 MB / 366.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.0003662/0.3449, allocations: 225.5 kB / 458.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.3451, allocations: 79.48 kB / 458.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.3452, allocations: 70.69 kB / 458.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.3452, allocations: 15.86 kB / 458.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.3452, allocations: 0 / 458.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3452, allocations: 0 / 458.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.3474, allocations: 1.249 MB / 459.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3474, allocations: 4 kB / 459.8 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.3479, allocations: 108 kB / 459.9 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.3479, allocations: 3.938 kB / 460 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.3479, allocations: 8 kB / 460 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3479, allocations: 4 kB / 460 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.3479, allocations: 11.94 kB / 460 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.349, allocations: 0.7052 MB / 460.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.3492, allocations: 71.52 kB / 460.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.3492, allocations: 8 kB / 460.8 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.3495, allocations: 19.98 kB / 460.8 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.3496, allocations: 35.88 kB / 460.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.3496, allocations: 12 kB / 460.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005498/0.3502, allocations: 431 kB / 461.2 MB, free: 7.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3502, allocations: 0 / 461.2 MB, free: 7.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007148/0.3509, allocations: 136 kB / 461.4 MB, free: 7.074 MB / 366.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.001416/0.3523, allocations: 1.25 MB / 462.6 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.3531, allocations: 421.4 kB / 463 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3531, allocations: 320 / 463 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.3534, allocations: 147.8 kB / 463.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.3539, allocations: 75.23 kB / 463.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008946/0.3629, allocations: 6.156 MB / 469.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.3634, allocations: 421.4 kB / 469.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003058/0.3637, allocations: 98.05 kB / 469.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.3642, allocations: 391.3 kB / 470.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3642, allocations: 0 / 470.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04666/0.4108, allocations: 12.45 MB / 482.8 MB, free: 1.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 4 kB / 482.8 MB, free: 1.34 MB / 382.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/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: 14.712373344693333]