Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.001261/0.001261, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002072/0.003333, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001275/0.001275, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002941, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9723/0.9723, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.133/1.105, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 245.3 MB, free: 13.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.286e-05, allocations: 6.312 kB / 245.3 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003983/0.004006, allocations: 2.782 MB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.005429, allocations: 0.6775 MB / 248.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.005611, allocations: 11.94 kB / 248.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.005745, allocations: 55.5 kB / 248.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.005963, allocations: 95.17 kB / 248.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.006156, allocations: 79.77 kB / 249 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005939/0.00675, allocations: 354.1 kB / 249.3 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.006952, allocations: 80.02 kB / 249.4 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004545/0.007407, allocations: 219.5 kB / 249.6 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.007602, allocations: 111.6 kB / 249.7 MB, free: 9.023 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.007649, allocations: 32 kB / 249.7 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-05/0.007696, allocations: 28 kB / 249.8 MB, free: 8.965 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.007748, allocations: 43.81 kB / 249.8 MB, free: 8.922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.007841, allocations: 87.81 kB / 249.9 MB, free: 8.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.008145, allocations: 195.2 kB / 250.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.00816, allocations: 0 / 250.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.008162, allocations: 0 / 250.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.872e-05/0.008181, allocations: 0 / 250.1 MB, free: 8.645 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008347/0.009015, allocations: 0.5544 MB / 250.6 MB, free: 8.066 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.009054, allocations: 8.031 kB / 250.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.00914, allocations: 44.91 kB / 250.7 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.009504, allocations: 190.6 kB / 250.9 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.009528, allocations: 21.03 kB / 250.9 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.009576, allocations: 28.38 kB / 250.9 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.009851, allocations: 269.5 kB / 251.2 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.009861, allocations: 192 / 251.2 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.009881, allocations: 8.375 kB / 251.2 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.009893, allocations: 11.94 kB / 251.2 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.01001, allocations: 72.55 kB / 251.3 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.01089, allocations: 0.6311 MB / 251.9 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.01111, allocations: 118.5 kB / 252 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.01127, allocations: 108.7 kB / 252.1 MB, free: 6.469 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.01129, allocations: 4 kB / 252.1 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.01133, allocations: 34.56 kB / 252.2 MB, free: 6.422 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.01133, allocations: 0 / 252.2 MB, free: 6.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004524/0.01179, allocations: 242.5 kB / 252.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.01181, allocations: 55.41 kB / 252.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.01193, allocations: 210.3 kB / 252.7 MB, free: 5.891 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.01194, allocations: 25.7 kB / 252.7 MB, free: 5.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.01201, allocations: 176.4 kB / 252.9 MB, free: 5.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.01205, allocations: 71.38 kB / 252.9 MB, free: 5.609 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.01211, allocations: 49.69 kB / 253 MB, free: 5.555 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.01221, allocations: 338.7 kB / 253.3 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.01224, allocations: 23.98 kB / 253.3 MB, free: 5.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-05/0.0123, allocations: 77.91 kB / 253.4 MB, free: 5.094 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.0124, allocations: 134.5 kB / 253.5 MB, free: 4.941 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.0124, allocations: 0 / 253.5 MB, free: 4.941 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002361/0.01264, allocations: 190.1 kB / 253.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01265, allocations: 4.188 kB / 253.7 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01266, allocations: 4 kB / 253.7 MB, free: 4.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.01289, allocations: 68.78 kB / 253.8 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.01305, allocations: 67.91 kB / 253.9 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.01417, allocations: 1.54 MB / 255.4 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.346e-05/0.01427, allocations: 19.89 kB / 255.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.01427, allocations: 8 kB / 255.4 MB, free: 2.945 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 8.056e-05/0.01435, allocations: 129.8 kB / 255.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.01439, allocations: 23.97 kB / 255.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.01441, allocations: 21.81 kB / 255.6 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01442, allocations: 7.938 kB / 255.6 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01442, allocations: 0 / 255.6 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01442, allocations: 3.984 kB / 255.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.01484, allocations: 378.6 kB / 256 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01484, allocations: 0 / 256 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.01496, allocations: 47.89 kB / 256 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.01499, allocations: 23.8 kB / 256.1 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/0.01516, allocations: 68.8 kB / 256.1 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.01517, allocations: 7.984 kB / 256.1 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000837/0.01601, allocations: 1.498 MB / 257.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01601, allocations: 32 / 257.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.01623, allocations: 284.1 kB / 257.9 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.01624, allocations: 11.88 kB / 257.9 MB, free: 316 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.01632, allocations: 19.92 kB / 257.9 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.01636, allocations: 19.97 kB / 258 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.01636, allocations: 4 kB / 258 MB, free: 272 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.999e-05/0.01641, allocations: 60.58 kB / 258 MB, free: 208 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01641, allocations: 4.031 kB / 258 MB, free: 204 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.00024/0.01665, allocations: 83.83 kB / 258.1 MB, free: 120 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.98e-05/0.01675, allocations: 84.41 kB / 258.2 MB, free: 28 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.01708, allocations: 238 kB / 258.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.01709, allocations: 4.562 kB / 258.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.01723, allocations: 206.4 kB / 258.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.01752, allocations: 359.2 kB / 259 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.01952, allocations: 0.5365 MB / 259.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.986e-05/0.01957, allocations: 88.17 kB / 259.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.01963, allocations: 26.28 kB / 259.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.01973, allocations: 91.36 kB / 259.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01973, allocations: 0 / 259.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Templates: time 0.005313/0.02505, allocations: 3.612 MB / 263.3 MB, free: 10.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.682398024946451]