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.001721/0.001721, allocations: 92.27 kB / 20.96 MB, free: 3.438 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.002041/0.002041, allocations: 156.9 kB / 24.26 MB, free: 144 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.574/1.574, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 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.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.633e-06/1.633e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.903e-05, allocations: 5.125 kB / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004318/0.004347, allocations: 2.62 MB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.005749, allocations: 0.6698 MB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.005903, allocations: 7.938 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.006086, allocations: 43.58 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.006344, allocations: 103.1 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.006699, allocations: 87.77 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.007892, allocations: 366.3 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.008117, allocations: 64.81 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.008457, allocations: 191.6 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.008686, allocations: 115.6 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.008753, allocations: 28 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.008815, allocations: 32 kB / 276.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.744e-05/0.008912, allocations: 67.69 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.009076, allocations: 99.75 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.009605, allocations: 350.8 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.00961, allocations: 0 / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009611, allocations: 0 / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.009618, allocations: 0 / 277.1 MB, free: 12.93 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.001329/0.01095, allocations: 0.5663 MB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.01099, allocations: 11.98 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.01112, allocations: 48.75 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.01158, allocations: 225.3 kB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.0116, allocations: 12.88 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.01165, allocations: 24.38 kB / 277.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.01232, allocations: 317.6 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.01233, allocations: 4.188 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.01236, allocations: 16.36 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.01238, allocations: 11.92 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006547/0.01303, allocations: 213.9 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.01472, allocations: 0.7738 MB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.01544, allocations: 202.5 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.01573, allocations: 80.8 kB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.01576, allocations: 4 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005448/0.01631, allocations: 260 kB / 279.8 MB, free: 9.996 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.213e-06/0.01631, allocations: 4 kB / 279.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001733/0.01804, allocations: 436.8 kB / 280.2 MB, free: 9.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.01816, allocations: 136.5 kB / 280.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.01849, allocations: 261.9 kB / 280.6 MB, free: 9.129 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.01853, allocations: 29.7 kB / 280.7 MB, free: 9.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.01869, allocations: 184.1 kB / 280.8 MB, free: 8.906 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.01875, allocations: 55.56 kB / 280.9 MB, free: 8.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.01885, allocations: 49.89 kB / 280.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.01907, allocations: 342.8 kB / 281.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.01938, allocations: 110.1 kB / 281.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.01985, allocations: 285.9 kB / 281.7 MB, free: 8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.02048, allocations: 260.5 kB / 281.9 MB, free: 7.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02048, allocations: 0 / 281.9 MB, free: 7.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001065/0.02154, allocations: 421.5 kB / 282.3 MB, free: 7.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.0216, allocations: 37.64 kB / 282.4 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.02161, allocations: 4 kB / 282.4 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000644/0.02226, allocations: 100.8 kB / 282.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.02247, allocations: 47.91 kB / 282.5 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.02534, allocations: 1.78 MB / 284.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.02569, allocations: 55.86 kB / 284.3 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.02572, allocations: 8 kB / 284.4 MB, free: 5.141 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 0.0002028/0.02592, allocations: 137.8 kB / 284.5 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.02598, allocations: 35.89 kB / 284.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.02604, allocations: 26.11 kB / 284.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.02604, allocations: 4 kB / 284.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.02605, allocations: 3.938 kB / 284.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.02605, allocations: 0 / 284.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.02632, allocations: 201.2 kB / 284.8 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.02633, allocations: 8 kB / 284.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.02648, allocations: 19.97 kB / 284.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005283/0.027, allocations: 104.8 kB / 284.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.02702, allocations: 7.984 kB / 284.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.02939, allocations: 1.776 MB / 286.7 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.02939, allocations: 0 / 286.7 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009101/0.0303, allocations: 313.6 kB / 287 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.03036, allocations: 23.84 kB / 287 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.0304, allocations: 11.94 kB / 287 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.03065, allocations: 31.95 kB / 287 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.03075, allocations: 19.97 kB / 287.1 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.03077, allocations: 4 kB / 287.1 MB, free: 2.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002369/0.031, allocations: 189.2 kB / 287.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.031, allocations: 4 kB / 287.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000443/0.03145, allocations: 79.89 kB / 287.3 MB, free: 1.992 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.0001628/0.03161, allocations: 103.2 kB / 287.4 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.03262, allocations: 426.5 kB / 287.8 MB, free: 1.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03262, allocations: 0 / 287.8 MB, free: 1.438 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.03314, allocations: 230.4 kB / 288.1 MB, free: 1.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.0335, allocations: 55.8 kB / 288.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.03549, allocations: 0.5551 MB / 288.7 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.03567, allocations: 142 kB / 288.8 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.03579, allocations: 30.27 kB / 288.8 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.03586, allocations: 24.5 kB / 288.9 MB, free: 364 kB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03586, allocations: 0 / 288.9 MB, free: 364 kB / 266.7 MB Notification: Performance of Templates: time 0.01001/0.04588, allocations: 4.08 MB / 292.9 MB, free: 12.33 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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: 4.6876846719533205]