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.0007543/0.0007543, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.001876, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007274/0.0007274, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009253/0.001653, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.014/1.014, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.114, allocations: 53.86 MB / 243.7 MB, free: 14.92 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.393e-06/1.393e-06, allocations: 0 / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.92e-05, allocations: 2.312 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002856/0.002876, allocations: 2.786 MB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.003967, allocations: 0.6775 MB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.004086, allocations: 11.94 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.373e-05/0.004179, allocations: 51.52 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.004336, allocations: 95.12 kB / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.004482, allocations: 71.83 kB / 248.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.004774, allocations: 358.2 kB / 249.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.004926, allocations: 76.02 kB / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.005223, allocations: 227.5 kB / 249.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.005362, allocations: 107.6 kB / 249.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.005398, allocations: 28 kB / 249.5 MB, free: 9.121 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.98e-05/0.005428, allocations: 28 kB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.005461, allocations: 43.88 kB / 249.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.005533, allocations: 87.81 kB / 249.7 MB, free: 8.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.005751, allocations: 199.2 kB / 249.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.706e-05/0.005769, allocations: 0 / 249.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.00577, allocations: 0 / 249.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.005788, allocations: 0 / 249.9 MB, free: 8.77 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.0006508/0.006438, allocations: 0.5505 MB / 250.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.006468, allocations: 12.03 kB / 250.4 MB, free: 8.184 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.006528, allocations: 44.84 kB / 250.5 MB, free: 8.141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.006754, allocations: 182.2 kB / 250.7 MB, free: 7.934 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.006772, allocations: 21.03 kB / 250.7 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.006807, allocations: 24.38 kB / 250.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.007034, allocations: 273.4 kB / 251 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.007044, allocations: 8.062 kB / 251 MB, free: 7.582 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.007061, allocations: 12.38 kB / 251 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.00707, allocations: 11.94 kB / 251 MB, free: 7.559 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.605e-05/0.007156, allocations: 64.56 kB / 251.1 MB, free: 7.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.008235, allocations: 0.6429 MB / 251.7 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.008432, allocations: 114.5 kB / 251.8 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.00859, allocations: 108 kB / 251.9 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.008622, allocations: 4 kB / 251.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.00865, allocations: 30.56 kB / 252 MB, free: 6.547 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 3.076e-06/0.008653, allocations: 4 kB / 252 MB, free: 6.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004922/0.009145, allocations: 230.6 kB / 252.2 MB, free: 6.309 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.009172, allocations: 63.39 kB / 252.3 MB, free: 6.234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.009292, allocations: 202.3 kB / 252.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.00931, allocations: 33.64 kB / 252.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.009378, allocations: 172.4 kB / 252.7 MB, free: 5.809 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.009416, allocations: 75.36 kB / 252.7 MB, free: 5.734 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.009463, allocations: 45.69 kB / 252.8 MB, free: 5.684 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.00954, allocations: 338.7 kB / 253.1 MB, free: 5.344 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.009568, allocations: 23.98 kB / 253.1 MB, free: 5.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.009631, allocations: 81.95 kB / 253.2 MB, free: 5.219 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.009732, allocations: 122.5 kB / 253.3 MB, free: 5.078 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.009734, allocations: 0 / 253.3 MB, free: 5.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002206/0.009955, allocations: 198.2 kB / 253.5 MB, free: 4.875 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.009968, allocations: 4 kB / 253.5 MB, free: 4.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.009975, allocations: 4 kB / 253.5 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.0102, allocations: 68.78 kB / 253.6 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.01037, allocations: 63.94 kB / 253.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.01143, allocations: 1.535 MB / 255.2 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.01153, allocations: 23.92 kB / 255.2 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.01154, allocations: 8 kB / 255.2 MB, free: 3.082 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 9.49e-05/0.01163, allocations: 125.7 kB / 255.3 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.01167, allocations: 23.97 kB / 255.4 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.0117, allocations: 21.81 kB / 255.4 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.0117, allocations: 7.938 kB / 255.4 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.0117, allocations: 3.938 kB / 255.4 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01171, allocations: 3.984 kB / 255.4 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.01213, allocations: 379.2 kB / 255.8 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01214, allocations: 4 kB / 255.8 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.01226, allocations: 51.94 kB / 255.8 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.01228, allocations: 19.8 kB / 255.9 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.01246, allocations: 64.8 kB / 255.9 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01247, allocations: 7.984 kB / 255.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008598/0.01333, allocations: 1.506 MB / 257.4 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01333, allocations: 0 / 257.4 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.01357, allocations: 287.3 kB / 257.7 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.01359, allocations: 7.938 kB / 257.7 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.01367, allocations: 15.98 kB / 257.7 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.01371, allocations: 19.97 kB / 257.8 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.01372, allocations: 8.062 kB / 257.8 MB, free: 408 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.593e-05/0.01376, allocations: 56.59 kB / 257.8 MB, free: 348 kB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01376, allocations: 0 / 257.8 MB, free: 348 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.01401, allocations: 83.83 kB / 257.9 MB, free: 264 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 0.0001095/0.01412, allocations: 88.34 kB / 258 MB, free: 168 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.0144, allocations: 230.4 kB / 258.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.01442, allocations: 12.05 kB / 258.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.01485, allocations: 191.3 kB / 258.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.01507, allocations: 48.11 kB / 258.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.01725, allocations: 0.5333 MB / 259 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.09e-05/0.01732, allocations: 92.17 kB / 259.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.01739, allocations: 29.92 kB / 259.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.01751, allocations: 87.36 kB / 259.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01751, allocations: 0 / 259.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Templates: time 0.006026/0.02353, allocations: 3.41 MB / 262.6 MB, free: 11.51 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.578056188300252]