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.001271/0.001271, allocations: 116.5 kB / 20.43 MB, free: 1.305 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.001378/0.001378, allocations: 206.6 kB / 23.74 MB, free: 4.539 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.39/1.39, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.00181/0.00181, allocations: 59.89 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2737, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007035/0.2807, allocations: 5.436 MB / 436.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.2837, allocations: 1.527 MB / 438.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003964/0.2841, allocations: 39.69 kB / 438.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.2846, allocations: 217.8 kB / 438.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.2851, allocations: 198 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.286, allocations: 427.2 kB / 439 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.2874, allocations: 1.126 MB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.288, allocations: 328.9 kB / 440.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.2885, allocations: 426.2 kB / 440.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005058/0.2891, allocations: 425.6 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.2892, allocations: 84 kB / 441.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.2894, allocations: 115.9 kB / 441.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.2896, allocations: 211.1 kB / 441.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.29, allocations: 0.497 MB / 442.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.2913, allocations: 1.19 MB / 443.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2913, allocations: 0 / 443.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2913, allocations: 0 / 443.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.2913, allocations: 3.938 kB / 443.4 MB, free: 10.4 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.001869/0.2932, allocations: 1.271 MB / 444.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.2933, allocations: 8.031 kB / 444.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.2934, allocations: 152.2 kB / 444.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.2938, allocations: 147.1 kB / 445 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.2949, allocations: 0.586 MB / 445.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.295, allocations: 77.94 kB / 445.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.2951, allocations: 99.98 kB / 445.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.2968, allocations: 1.027 MB / 446.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.2968, allocations: 11.92 kB / 446.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.1e-05/0.2969, allocations: 44 kB / 446.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.2969, allocations: 28 kB / 446.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.298, allocations: 0.5539 MB / 447.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005266/0.3033, allocations: 5.409 MB / 452.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/0.3039, allocations: 232.9 kB / 453 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.3042, allocations: 145.6 kB / 453.2 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.3043, allocations: 16.28 kB / 453.2 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3043, allocations: 38.5 kB / 453.2 MB, free: 64 kB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/0.3043, allocations: 0 / 453.2 MB, free: 64 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003825/0.3081, allocations: 1.592 MB / 454.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.3082, allocations: 89.05 kB / 454.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/0.309, allocations: 0.6413 MB / 455.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.309, allocations: 29.7 kB / 455.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/0.3095, allocations: 0.62 MB / 456.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.3097, allocations: 150.8 kB / 456.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.3099, allocations: 138.5 kB / 456.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.3101, allocations: 386.7 kB / 456.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.3104, allocations: 153.9 kB / 457 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.311, allocations: 0.4893 MB / 457.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000952/0.3119, allocations: 0.6992 MB / 458.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3119, allocations: 7.938 kB / 458.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001169/0.3131, allocations: 0.72 MB / 458.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3131, allocations: 8 kB / 458.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.3131, allocations: 12 kB / 459 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/0.3131, allocations: 19.94 kB / 459 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.3138, allocations: 199.6 kB / 459.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.3138, allocations: 19.94 kB / 459.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.3141, allocations: 31.98 kB / 459.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.3142, allocations: 44.06 kB / 459.3 MB, free: 9.586 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.0002873/0.3145, allocations: 225.5 kB / 459.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3146, allocations: 83.47 kB / 459.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.3147, allocations: 74.69 kB / 459.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3147, allocations: 11.94 kB / 459.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3147, allocations: 0 / 459.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3147, allocations: 3.984 kB / 459.7 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.3168, allocations: 1.298 MB / 461 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3168, allocations: 4.156 kB / 461 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.3173, allocations: 95.88 kB / 461 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3173, allocations: 7.938 kB / 461.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.3173, allocations: 15.98 kB / 461.1 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.3173, allocations: 4 kB / 461.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3173, allocations: 0 / 461.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.3183, allocations: 0.713 MB / 461.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3184, allocations: 67.52 kB / 461.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.3185, allocations: 12 kB / 461.9 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.3188, allocations: 19.98 kB / 461.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.3188, allocations: 31.94 kB / 461.9 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.3189, allocations: 12 kB / 461.9 MB, free: 6.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004964/0.3194, allocations: 423 kB / 462.3 MB, free: 6.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3194, allocations: 4 kB / 462.3 MB, free: 6.402 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006314/0.32, allocations: 144 kB / 462.5 MB, free: 6.262 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.001391/0.3214, allocations: 1.242 MB / 463.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007968/0.3222, allocations: 429 kB / 464.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3222, allocations: 0 / 464.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.3225, allocations: 147.7 kB / 464.3 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.323, allocations: 71.42 kB / 464.4 MB, free: 4.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008192/0.3312, allocations: 6.154 MB / 470.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.3318, allocations: 1.004 MB / 471.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.3321, allocations: 94.06 kB / 471.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.3326, allocations: 391.3 kB / 472 MB, free: 12.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3326, allocations: 0 / 472 MB, free: 12.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04561/0.3782, allocations: 12.34 MB / 484.3 MB, free: 15.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.98, allocations: 15.48 kB / 484.3 MB, free: 15.96 MB / 398.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.708326714000577]