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.0009994/0.0009994, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 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.001073/0.001073, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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.024/1.024, allocations: 177 MB / 204.8 MB, free: 5.254 MB / 186.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.383e-06/1.383e-06, allocations: 0 / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.712e-05, allocations: 5.266 kB / 273 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00295/0.002977, allocations: 2.811 MB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.003977, allocations: 0.6816 MB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.004092, allocations: 7.938 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.004227, allocations: 39.58 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.004382, allocations: 99.12 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.004618, allocations: 91.75 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.004917, allocations: 370.3 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.005057, allocations: 60.75 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.005238, allocations: 199.5 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.005366, allocations: 115.6 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.005408, allocations: 32 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.312e-05/0.005441, allocations: 28 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.005492, allocations: 67.75 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/0.005579, allocations: 107.7 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.005811, allocations: 215.2 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.005813, allocations: 0 / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005814, allocations: 4 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005818, allocations: 0 / 277.9 MB, free: 12.33 MB / 266.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.0007709/0.006589, allocations: 0.6506 MB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.006627, allocations: 15.98 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.313e-05/0.006711, allocations: 52.73 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.006964, allocations: 220.1 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.006982, allocations: 16.88 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.00701, allocations: 24.36 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.00734, allocations: 262.4 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.007354, allocations: 192 / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.007375, allocations: 8.375 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.007392, allocations: 11.94 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.007546, allocations: 90.88 kB / 279.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.00875, allocations: 0.7926 MB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.009011, allocations: 127 kB / 280.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.009075, allocations: 43.66 kB / 280.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.009098, allocations: 4 kB / 280.2 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.00932, allocations: 216.8 kB / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.009321, allocations: 0 / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000653/0.009974, allocations: 276.4 kB / 280.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.01003, allocations: 136.5 kB / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.01035, allocations: 296.3 kB / 281.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.01037, allocations: 33.64 kB / 281.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.01048, allocations: 230.9 kB / 281.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.01051, allocations: 63.52 kB / 281.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.01058, allocations: 55.59 kB / 281.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.01071, allocations: 0.5039 MB / 281.9 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.01079, allocations: 58.14 kB / 282 MB, free: 7.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.01092, allocations: 252 kB / 282.2 MB, free: 7.555 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.01107, allocations: 186.8 kB / 282.4 MB, free: 7.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01108, allocations: 0 / 282.4 MB, free: 7.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003622/0.01144, allocations: 307.3 kB / 282.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.01147, allocations: 37.89 kB / 282.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01148, allocations: 8 kB / 282.8 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.01178, allocations: 79.61 kB / 282.9 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.01187, allocations: 43.91 kB / 282.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.01347, allocations: 2.221 MB / 285.1 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.01363, allocations: 43.81 kB / 285.2 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.01364, allocations: 12.03 kB / 285.2 MB, free: 4.422 MB / 266.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 9.897e-05/0.01374, allocations: 172.5 kB / 285.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.01377, allocations: 31.86 kB / 285.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.0138, allocations: 26.11 kB / 285.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.0138, allocations: 4 kB / 285.4 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.01381, allocations: 4.188 kB / 285.4 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01381, allocations: 3.938 kB / 285.4 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.01395, allocations: 208.5 kB / 285.6 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01396, allocations: 7.938 kB / 285.6 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/0.01401, allocations: 23.98 kB / 285.6 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.01421, allocations: 75.66 kB / 285.7 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.01423, allocations: 7.984 kB / 285.7 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.01526, allocations: 2.217 MB / 287.9 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01526, allocations: 0 / 287.9 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.01551, allocations: 223.7 kB / 288.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.01553, allocations: 19.86 kB / 288.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.01556, allocations: 11.97 kB / 288.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.01565, allocations: 27.97 kB / 288.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.01571, allocations: 19.95 kB / 288.2 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.01572, allocations: 4 kB / 288.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.01583, allocations: 209.1 kB / 288.4 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01583, allocations: 0 / 288.4 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.01609, allocations: 75.89 kB / 288.5 MB, free: 0.875 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.0001137/0.01621, allocations: 115.2 kB / 288.6 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004094/0.01661, allocations: 393.4 kB / 289 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01662, allocations: 0 / 289 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.01678, allocations: 245.4 kB / 289.3 MB, free: 72 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.017, allocations: 48.91 kB / 289.3 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.01796, allocations: 493.6 kB / 289.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.681e-05/0.018, allocations: 84.31 kB / 289.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.824e-05/0.01807, allocations: 26.27 kB / 289.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.01812, allocations: 28.5 kB / 289.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01812, allocations: 3.938 kB / 289.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Templates: time 0.006136/0.02426, allocations: 4.326 MB / 294.3 MB, free: 11.08 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.960536913946271]