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.001824/0.001824, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002301/0.002301, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.468/1.468, allocations: 230.2 MB / 255.2 MB, free: 15.27 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: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.91 kB / 374.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1054, allocations: 53.32 MB / 427.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.1916/0.2969, allocations: 5.405 MB / 433.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.2994, allocations: 1.526 MB / 434.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.2997, allocations: 29.12 kB / 434.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.3002, allocations: 222.4 kB / 435.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.3006, allocations: 196.1 kB / 435.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.3012, allocations: 416.8 kB / 435.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.3023, allocations: 1.126 MB / 436.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.3028, allocations: 334.8 kB / 437.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.3033, allocations: 401.7 kB / 437.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/0.3038, allocations: 438 kB / 437.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.3039, allocations: 84.12 kB / 438 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.3041, allocations: 110.5 kB / 438.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3042, allocations: 205.2 kB / 438.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.3046, allocations: 0.5001 MB / 438.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.3057, allocations: 1.187 MB / 440 MB, free: 6.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3058, allocations: 0 / 440 MB, free: 6.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3058, allocations: 3.938 kB / 440 MB, free: 6.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.3058, allocations: 1.125 kB / 440 MB, free: 6.102 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.001727/0.3075, allocations: 1.347 MB / 441.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3075, allocations: 10.12 kB / 441.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.3079, allocations: 151.2 kB / 441.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009183/0.3088, allocations: 0.6612 MB / 442.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.3088, allocations: 78.89 kB / 442.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.309, allocations: 95.72 kB / 442.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.3105, allocations: 1.031 MB / 443.4 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.3105, allocations: 6.5 kB / 443.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.3106, allocations: 44.09 kB / 443.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.3106, allocations: 26.31 kB / 443.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.3117, allocations: 0.5553 MB / 444 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004267/0.316, allocations: 5.501 MB / 449.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005836/0.3165, allocations: 226.5 kB / 449.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.3169, allocations: 152.7 kB / 449.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.317, allocations: 87.25 kB / 450 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.317, allocations: 41.33 kB / 450 MB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.445e-06/0.317, allocations: 2.016 kB / 450 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004124/0.3212, allocations: 1.734 MB / 451.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.3212, allocations: 85.7 kB / 451.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007849/0.322, allocations: 0.6434 MB / 452.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.322, allocations: 36.23 kB / 452.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/0.3226, allocations: 0.6154 MB / 453.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.3227, allocations: 155.6 kB / 453.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.3229, allocations: 138.1 kB / 453.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.3231, allocations: 388.6 kB / 453.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.3234, allocations: 151.5 kB / 453.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.3241, allocations: 0.4903 MB / 454.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.3251, allocations: 0.7001 MB / 455.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.3251, allocations: 3.438 kB / 455.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001249/0.3264, allocations: 0.7183 MB / 455.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3264, allocations: 10.11 kB / 455.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.3264, allocations: 16.84 kB / 455.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/0.3264, allocations: 17.25 kB / 455.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.3271, allocations: 194.3 kB / 456.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.03e-05/0.3271, allocations: 27.12 kB / 456.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.3275, allocations: 34 kB / 456.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.3275, allocations: 36.59 kB / 456.2 MB, free: 10.76 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.0003363/0.3279, allocations: 234.5 kB / 456.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.328, allocations: 82.41 kB / 456.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.3281, allocations: 78 kB / 456.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3281, allocations: 4.906 kB / 456.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.3282, allocations: 6.125 kB / 456.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3282, allocations: 2.062 kB / 456.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.3304, allocations: 1.315 MB / 457.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3304, allocations: 5.875 kB / 457.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.3309, allocations: 107.3 kB / 458 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.3309, allocations: 3.719 kB / 458 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.331, allocations: 17.92 kB / 458 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.331, allocations: 4 kB / 458 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.331, allocations: 4.156 kB / 458 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3321, allocations: 0.6951 MB / 458.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.3322, allocations: 150.8 kB / 458.9 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.3323, allocations: 9.016 kB / 458.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.3326, allocations: 29.59 kB / 458.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.3327, allocations: 30.08 kB / 458.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.3327, allocations: 10.56 kB / 458.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005357/0.3333, allocations: 427 kB / 459.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3333, allocations: 3.938 kB / 459.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007207/0.334, allocations: 136.5 kB / 459.5 MB, free: 8.898 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.0001545/0.3341, allocations: 115.4 kB / 459.6 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008411/0.335, allocations: 411.8 kB / 460 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.335, allocations: 3.125 kB / 460 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.3353, allocations: 150 kB / 460.2 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.3358, allocations: 76.75 kB / 460.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.3388, allocations: 1.724 MB / 462 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.3395, allocations: 1.005 MB / 463 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.3397, allocations: 69.81 kB / 463 MB, free: 6.805 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3397, allocations: 0 / 463 MB, free: 6.805 MB / 366.1 MB Notification: Performance of Templates: time 0.01607/0.3558, allocations: 9.426 MB / 472.5 MB, free: 2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.7813707671593875]