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.001325/0.001325, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001794/0.001794, allocations: 216.7 kB / 23 MB, free: 5.574 MB / 14.72 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.453/1.453, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 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 0.002068/0.002068, allocations: 63.89 kB / 376.5 MB, free: 3.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 53.33 MB / 429.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004858/0.3441, allocations: 2.793 MB / 432.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3457, allocations: 0.7168 MB / 433.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3459, allocations: 7.938 kB / 433.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.346, allocations: 39.58 kB / 433.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.3463, allocations: 95.25 kB / 433.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3466, allocations: 99.8 kB / 433.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004553/0.347, allocations: 354.5 kB / 433.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.3472, allocations: 60.7 kB / 434 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.3474, allocations: 131.5 kB / 434.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.3477, allocations: 151.3 kB / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.3477, allocations: 32 kB / 434.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.921e-05/0.3478, allocations: 28 kB / 434.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.3478, allocations: 67.75 kB / 434.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.348, allocations: 155.1 kB / 434.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.3484, allocations: 320.3 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3485, allocations: 7.922 kB / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3485, allocations: 0 / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.3485, allocations: 0 / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001404/0.3499, allocations: 0.6494 MB / 435.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3499, allocations: 8.031 kB / 435.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.35, allocations: 32.75 kB / 435.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.3505, allocations: 279.8 kB / 435.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3505, allocations: 16.81 kB / 435.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.3505, allocations: 24.38 kB / 435.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.3512, allocations: 278 kB / 436.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3512, allocations: 4 kB / 436.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.3512, allocations: 4 kB / 436.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.3513, allocations: 4 kB / 436.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/0.352, allocations: 245.6 kB / 436.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.3538, allocations: 0.9561 MB / 437.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008829/0.3547, allocations: 230.6 kB / 437.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.355, allocations: 96.78 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.355, allocations: 0 / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004575/0.3555, allocations: 182 kB / 437.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.3555, allocations: 3.938 kB / 437.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002306/0.3578, allocations: 0.6513 MB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.358, allocations: 106.8 kB / 438.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.3583, allocations: 274.5 kB / 438.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.3583, allocations: 33.7 kB / 438.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3585, allocations: 184.1 kB / 439.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.3585, allocations: 43.62 kB / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.3586, allocations: 45.66 kB / 439.2 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.3589, allocations: 342.8 kB / 439.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.3592, allocations: 95.92 kB / 439.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.3596, allocations: 186.2 kB / 439.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/0.3603, allocations: 284.7 kB / 440.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3603, allocations: 8 kB / 440.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001241/0.3615, allocations: 439.7 kB / 440.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.3616, allocations: 37.77 kB / 440.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.3616, allocations: 7.984 kB / 440.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.362, allocations: 76.8 kB / 440.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.3622, allocations: 47.95 kB / 440.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.3651, allocations: 2.005 MB / 442.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.3654, allocations: 47.84 kB / 442.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3654, allocations: 15.94 kB / 442.7 MB, free: 10.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.3656, allocations: 137.8 kB / 442.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.3656, allocations: 23.92 kB / 442.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.3657, allocations: 33.77 kB / 442.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3657, allocations: 0 / 442.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.3657, allocations: 4 kB / 442.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3657, allocations: 0 / 442.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.366, allocations: 297.4 kB / 443.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.366, allocations: 0 / 443.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.3661, allocations: 27.97 kB / 443.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/0.3664, allocations: 68.81 kB / 443.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3664, allocations: 15.92 kB / 443.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.3689, allocations: 1.912 MB / 445.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3689, allocations: 11.91 kB / 445.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3699, allocations: 361 kB / 445.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.37, allocations: 108.9 kB / 445.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.37, allocations: 0 / 445.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.3702, allocations: 35.97 kB / 445.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.3703, allocations: 19.97 kB / 445.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3703, allocations: 4 kB / 445.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.3705, allocations: 194 kB / 446 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3705, allocations: 0 / 446 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.3709, allocations: 67.95 kB / 446 MB, free: 6.656 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.3711, allocations: 115.1 kB / 446.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.3724, allocations: 465.8 kB / 446.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3724, allocations: 448 / 446.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.3729, allocations: 230.5 kB / 446.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3732, allocations: 55.72 kB / 446.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.3762, allocations: 0.9093 MB / 447.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.3766, allocations: 0.7518 MB / 448.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.3767, allocations: 26.28 kB / 448.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.3768, allocations: 23.42 kB / 448.6 MB, free: 4 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3768, allocations: 0 / 448.6 MB, free: 4 MB / 350.1 MB Notification: Performance of Templates: time 0.01046/0.3872, allocations: 3.938 MB / 452.5 MB, free: 100 kB / 350.1 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.720112684182823]