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.001501/0.001501, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001569/0.001569, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 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 1.586/1.586, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 51.92 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1197, allocations: 53.32 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.273/0.3927, allocations: 5.421 MB / 432.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.3952, allocations: 1.525 MB / 433.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000397/0.3956, allocations: 37.75 kB / 433.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.396, allocations: 218.6 kB / 434 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.3964, allocations: 198.5 kB / 434.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.3971, allocations: 416.7 kB / 434.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008993/0.398, allocations: 1.119 MB / 435.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.3984, allocations: 335.2 kB / 436.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004837/0.3989, allocations: 422.3 kB / 436.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.3993, allocations: 432.6 kB / 436.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.3995, allocations: 84 kB / 437 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.3997, allocations: 107.3 kB / 437.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.3998, allocations: 212.5 kB / 437.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.4002, allocations: 0.4991 MB / 437.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.4015, allocations: 1.186 MB / 439 MB, free: 6.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4015, allocations: 0 / 439 MB, free: 6.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4015, allocations: 2.781 kB / 439 MB, free: 6.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.4015, allocations: 0 / 439 MB, free: 6.004 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.001957/0.4034, allocations: 1.346 MB / 440.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4035, allocations: 9.844 kB / 440.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.4039, allocations: 150.5 kB / 440.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000957/0.4048, allocations: 0.6625 MB / 441.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.4049, allocations: 78.97 kB / 441.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.405, allocations: 98.17 kB / 441.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.4066, allocations: 1.03 MB / 442.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.4066, allocations: 7.906 kB / 442.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.4067, allocations: 43.88 kB / 442.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.4067, allocations: 30.09 kB / 442.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.4079, allocations: 0.5516 MB / 443 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004447/0.4123, allocations: 5.511 MB / 448.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.4129, allocations: 218.9 kB / 448.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.4133, allocations: 155.9 kB / 448.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.4134, allocations: 86.64 kB / 448.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4135, allocations: 39.22 kB / 449 MB, free: 14.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.4135, allocations: 0 / 449 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004478/0.4179, allocations: 1.732 MB / 450.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.418, allocations: 89.27 kB / 450.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/0.4189, allocations: 0.6434 MB / 451.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.4189, allocations: 32.02 kB / 451.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/0.4194, allocations: 0.6157 MB / 452.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.4196, allocations: 151.8 kB / 452.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.4198, allocations: 142 kB / 452.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.42, allocations: 385.2 kB / 452.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.4203, allocations: 158.8 kB / 452.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.421, allocations: 499 kB / 453.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.4221, allocations: 0.6988 MB / 454.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/0.4221, allocations: 3.531 kB / 454.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001376/0.4235, allocations: 0.7216 MB / 454.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4235, allocations: 10.31 kB / 454.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.4235, allocations: 11.56 kB / 454.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/0.4236, allocations: 18.17 kB / 454.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.4243, allocations: 194.3 kB / 455.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/0.4243, allocations: 27.58 kB / 455.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.4247, allocations: 37.73 kB / 455.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.4247, allocations: 40.72 kB / 455.2 MB, free: 10.65 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.0003657/0.4251, allocations: 226.2 kB / 455.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.4252, allocations: 79.94 kB / 455.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.4254, allocations: 77.52 kB / 455.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4254, allocations: 8.281 kB / 455.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.4254, allocations: 6.25 kB / 455.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4254, allocations: 3.797 kB / 455.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.428, allocations: 1.317 MB / 456.9 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.428, allocations: 2.781 kB / 456.9 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.4285, allocations: 103.3 kB / 457 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.4285, allocations: 2.75 kB / 457 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.4285, allocations: 21.16 kB / 457 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.4285, allocations: 4.828 kB / 457 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4285, allocations: 1.375 kB / 457 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.4297, allocations: 0.7063 MB / 457.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.4299, allocations: 146.6 kB / 457.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/0.4299, allocations: 12.73 kB / 457.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.4303, allocations: 20.83 kB / 457.9 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.4303, allocations: 26.22 kB / 457.9 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.4304, allocations: 15.08 kB / 457.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005233/0.4309, allocations: 427.6 kB / 458.3 MB, free: 8.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4309, allocations: 0 / 458.3 MB, free: 8.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006838/0.4316, allocations: 137.3 kB / 458.5 MB, free: 8.801 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.0001487/0.4317, allocations: 115.6 kB / 458.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008784/0.4326, allocations: 412.7 kB / 459 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4326, allocations: 1.062 kB / 459 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.4329, allocations: 154.1 kB / 459.1 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.4335, allocations: 75.92 kB / 459.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.4366, allocations: 1.689 MB / 460.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/0.4373, allocations: 1.002 MB / 461.9 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.4376, allocations: 95.19 kB / 462 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.4377, allocations: 64.61 kB / 462.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4377, allocations: 0 / 462.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of Templates: time 0.0128/0.4505, allocations: 5.189 MB / 467.3 MB, free: 4.352 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/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: 5.0563722141087055]