Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009533/0.0009533, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9908/0.9908, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.453e-05, allocations: 2.312 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002824/0.002839, allocations: 2.786 MB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009962/0.003835, allocations: 0.6972 MB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.003953, allocations: 7.938 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.004086, allocations: 51.5 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.004238, allocations: 91.25 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.004503, allocations: 99.75 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.004805, allocations: 362.3 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.004929, allocations: 60.89 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.005112, allocations: 199.5 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.005241, allocations: 107.7 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.005283, allocations: 36 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.471e-05/0.005318, allocations: 28 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.005362, allocations: 71.69 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.005454, allocations: 95.75 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.005674, allocations: 219.2 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005676, allocations: 0 / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005677, allocations: 0 / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005681, allocations: 0 / 277.9 MB, free: 12.58 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007102/0.006391, allocations: 0.6507 MB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.006423, allocations: 12.03 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.006497, allocations: 52.73 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.006737, allocations: 220 kB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.006755, allocations: 16.88 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.00678, allocations: 20.38 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.007107, allocations: 281.1 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.007115, allocations: 192 / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.007131, allocations: 8.375 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.00714, allocations: 7.938 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.007283, allocations: 90.88 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.00818, allocations: 0.878 MB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.008399, allocations: 119.1 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.008457, allocations: 43.67 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.008473, allocations: 4 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.008631, allocations: 171.5 kB / 280.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.008632, allocations: 0 / 280.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000632/0.009264, allocations: 315.6 kB / 280.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.009315, allocations: 114.8 kB / 280.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.009489, allocations: 292.2 kB / 281.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.009508, allocations: 33.7 kB / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.009604, allocations: 226.9 kB / 281.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.009629, allocations: 51.62 kB / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.0097, allocations: 47.36 kB / 281.5 MB, free: 8.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.009841, allocations: 0.4962 MB / 282 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.668e-05/0.009907, allocations: 57.67 kB / 282.1 MB, free: 8.121 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01002, allocations: 206.8 kB / 282.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.01016, allocations: 171 kB / 282.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01016, allocations: 4 kB / 282.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003559/0.01051, allocations: 299.2 kB / 282.7 MB, free: 7.336 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.932e-05/0.0106, allocations: 37.7 kB / 282.8 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01061, allocations: 0 / 282.8 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.01084, allocations: 79.62 kB / 282.9 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.01093, allocations: 35.92 kB / 282.9 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.01212, allocations: 2.141 MB / 285 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.01224, allocations: 31.88 kB / 285.1 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.01225, allocations: 15.94 kB / 285.1 MB, free: 4.859 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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 8.929e-05/0.01234, allocations: 168.5 kB / 285.2 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.01237, allocations: 35.86 kB / 285.3 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.01239, allocations: 18.12 kB / 285.3 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.0124, allocations: 0 / 285.3 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.0124, allocations: 11.92 kB / 285.3 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.0124, allocations: 4 kB / 285.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.01255, allocations: 212.4 kB / 285.5 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01255, allocations: 0 / 285.5 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.0126, allocations: 15.98 kB / 285.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/0.01277, allocations: 79.56 kB / 285.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01278, allocations: 0 / 285.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008488/0.01363, allocations: 1.877 MB / 287.5 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01363, allocations: 3.984 kB / 287.5 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.01388, allocations: 211.8 kB / 287.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.01391, allocations: 35.81 kB / 287.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.01393, allocations: 4 kB / 287.7 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.01401, allocations: 19.98 kB / 287.8 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.01406, allocations: 15.97 kB / 287.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01407, allocations: 7.984 kB / 287.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.01417, allocations: 205.1 kB / 288 MB, free: 1.754 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01417, allocations: 0 / 288 MB, free: 1.754 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.01439, allocations: 75.89 kB / 288.1 MB, free: 1.68 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: 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.0003408/0.01473, allocations: 107.2 kB / 288.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.01507, allocations: 368 kB / 288.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01507, allocations: 0 / 288.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.01522, allocations: 229.4 kB / 288.7 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.01541, allocations: 48.84 kB / 288.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.01607, allocations: 426.3 kB / 289.2 MB, free: 444 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01611, allocations: 84.31 kB / 289.3 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.9e-05/0.01618, allocations: 17.95 kB / 289.3 MB, free: 324 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.01623, allocations: 20.5 kB / 289.3 MB, free: 304 kB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01623, allocations: 0 / 289.3 MB, free: 304 kB / 266.7 MB Notification: Performance of Templates: time 0.005404/0.02163, allocations: 4.108 MB / 293.4 MB, free: 12.24 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.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.666749340016395]