Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.0007642/0.0007642, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.00186, 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.0007008/0.0007008, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009707/0.001671, 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 1.044/1.044, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08771/1.131, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 245.3 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.02e-05, allocations: 2.312 kB / 245.3 MB, free: 13.49 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003174/0.003204, allocations: 2.83 MB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.004174, allocations: 0.7164 MB / 248.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.004294, allocations: 7.938 kB / 248.8 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.787e-05/0.004392, allocations: 39.58 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.004545, allocations: 107.1 kB / 249 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.00471, allocations: 83.81 kB / 249 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.004994, allocations: 362.4 kB / 249.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.00513, allocations: 66.66 kB / 249.5 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.005354, allocations: 236 kB / 249.7 MB, free: 9.039 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.00549, allocations: 107.7 kB / 249.8 MB, free: 8.934 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.005533, allocations: 32 kB / 249.8 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.005568, allocations: 28 kB / 249.8 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.005611, allocations: 51.81 kB / 249.9 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.378e-05/0.005685, allocations: 83.81 kB / 250 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.005905, allocations: 207.2 kB / 250.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.005918, allocations: 0 / 250.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.00592, allocations: 0 / 250.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.005932, allocations: 0 / 250.2 MB, free: 8.539 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007696/0.006702, allocations: 0.5802 MB / 250.8 MB, free: 7.926 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.006738, allocations: 12.03 kB / 250.8 MB, free: 7.914 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/0.006804, allocations: 36.91 kB / 250.8 MB, free: 7.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.007021, allocations: 185.3 kB / 251 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.007036, allocations: 16.88 kB / 251 MB, free: 7.656 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.007066, allocations: 24.36 kB / 251 MB, free: 7.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.007323, allocations: 254.4 kB / 251.3 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.007332, allocations: 4.188 kB / 251.3 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.007351, allocations: 12.36 kB / 251.3 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.00736, allocations: 11.94 kB / 251.3 MB, free: 7.332 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.007442, allocations: 55.47 kB / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007951/0.008237, allocations: 0.6197 MB / 252 MB, free: 6.602 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.008416, allocations: 110.4 kB / 252.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.008462, allocations: 32.77 kB / 252.1 MB, free: 6.449 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.008483, allocations: 4 kB / 252.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.008677, allocations: 204.1 kB / 252.3 MB, free: 6.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.008679, allocations: 0 / 252.3 MB, free: 6.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004929/0.009172, allocations: 225.2 kB / 252.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.00921, allocations: 55.41 kB / 252.6 MB, free: 5.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.009441, allocations: 244.9 kB / 252.8 MB, free: 5.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.009463, allocations: 29.7 kB / 252.9 MB, free: 5.625 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.009542, allocations: 168.6 kB / 253 MB, free: 5.457 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.00957, allocations: 55.56 kB / 253.1 MB, free: 5.402 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.009629, allocations: 57.81 kB / 253.1 MB, free: 5.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.009712, allocations: 338.7 kB / 253.5 MB, free: 5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.009763, allocations: 46.17 kB / 253.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.009879, allocations: 214 kB / 253.7 MB, free: 4.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.01002, allocations: 161.2 kB / 253.9 MB, free: 4.488 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01002, allocations: 0 / 253.9 MB, free: 4.488 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003008/0.01032, allocations: 252.8 kB / 254.1 MB, free: 4.223 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.01037, allocations: 37.64 kB / 254.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.01038, allocations: 0 / 254.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003015/0.01068, allocations: 84.98 kB / 254.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.0108, allocations: 47.91 kB / 254.3 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.01211, allocations: 1.515 MB / 255.8 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.01225, allocations: 43.75 kB / 255.9 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.01226, allocations: 11.94 kB / 255.9 MB, free: 2.391 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.952e-05/0.01235, allocations: 121.8 kB / 256 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.01238, allocations: 19.98 kB / 256 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.0124, allocations: 26.11 kB / 256 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01241, allocations: 32 / 256 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01241, allocations: 8 kB / 256 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.01241, allocations: 0 / 256 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.01254, allocations: 145.7 kB / 256.2 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01254, allocations: 0 / 256.2 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.01259, allocations: 23.86 kB / 256.2 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.01261, allocations: 19.86 kB / 256.2 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.01281, allocations: 76.78 kB / 256.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.01282, allocations: 3.984 kB / 256.3 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009124/0.01373, allocations: 1.502 MB / 257.8 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.01374, allocations: 7.922 kB / 257.8 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.01408, allocations: 169.7 kB / 258 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.01411, allocations: 4 kB / 258 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.01418, allocations: 19.98 kB / 258 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.01423, allocations: 23.95 kB / 258 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.01424, allocations: 8 kB / 258 MB, free: 84 kB / 250.7 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.01432, allocations: 90.78 kB / 258.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01432, allocations: 0 / 258.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.01455, allocations: 79.78 kB / 258.2 MB, free: 15.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001201/0.01467, allocations: 84.42 kB / 258.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.01498, allocations: 312.1 kB / 258.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.01499, allocations: 4 kB / 258.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.01513, allocations: 203.3 kB / 258.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.01543, allocations: 433.9 kB / 259.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.01711, allocations: 0.4972 MB / 259.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.01715, allocations: 80.31 kB / 259.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.577e-05/0.01722, allocations: 26.28 kB / 259.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.01736, allocations: 107.3 kB / 259.9 MB, free: 14 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01736, allocations: 4 kB / 259.9 MB, free: 14 MB / 266.7 MB Notification: Performance of Templates: time 0.006306/0.02367, allocations: 4.559 MB / 264.5 MB, free: 9.516 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.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: 3.060002241283655]