Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.0009504/0.0009504, allocations: 81.88 kB / 21.42 MB, free: 3.07 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.00112/0.00112, allocations: 170.7 kB / 24.82 MB, free: 8.879 MB / 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 1.086/1.086, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.InvertingSchmittTrigger,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.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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 4 kB / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.366e-05, allocations: 2.312 kB / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002803/0.002826, allocations: 2.744 MB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.003861, allocations: 0.6933 MB / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003976, allocations: 8 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.004098, allocations: 39.58 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.004248, allocations: 99.12 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.004461, allocations: 95.75 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.004762, allocations: 374.3 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.004899, allocations: 52.91 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.005074, allocations: 191.6 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.005202, allocations: 123.6 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.005239, allocations: 28 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.594e-05/0.005275, allocations: 28 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.005324, allocations: 63.75 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.005404, allocations: 115.6 kB / 278.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.005614, allocations: 211.2 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005616, allocations: 0 / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005617, allocations: 0 / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.005621, allocations: 0 / 278.3 MB, free: 12.36 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.0007151/0.006336, allocations: 0.6623 MB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.006368, allocations: 8.031 kB / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.006423, allocations: 44.75 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.006629, allocations: 220 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.006643, allocations: 20.88 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.006665, allocations: 20.38 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.006941, allocations: 265 kB / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006948, allocations: 192 / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.006966, allocations: 12.38 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.006974, allocations: 7.938 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.007077, allocations: 67.44 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008102/0.007887, allocations: 0.8895 MB / 280.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.008063, allocations: 111.1 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.008104, allocations: 31.67 kB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.00812, allocations: 4 kB / 280.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.00827, allocations: 179.1 kB / 280.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.008271, allocations: 0 / 280.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005705/0.008842, allocations: 300.9 kB / 281.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.008883, allocations: 106.8 kB / 281.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.00904, allocations: 300.1 kB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.009057, allocations: 29.7 kB / 281.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.009147, allocations: 230.9 kB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.009175, allocations: 51.62 kB / 281.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.009228, allocations: 47.34 kB / 281.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.009345, allocations: 0.504 MB / 282.4 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.009392, allocations: 49.69 kB / 282.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.009498, allocations: 225.9 kB / 282.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.009625, allocations: 184.4 kB / 282.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.009627, allocations: 0 / 282.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002979/0.009925, allocations: 286.6 kB / 283.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.009953, allocations: 41.69 kB / 283.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.00996, allocations: 7.984 kB / 283.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.01018, allocations: 83.83 kB / 283.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/0.01027, allocations: 39.92 kB / 283.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.01136, allocations: 2.142 MB / 285.4 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.01148, allocations: 39.88 kB / 285.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.01149, allocations: 7.984 kB / 285.4 MB, free: 4.637 MB / 266.7 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 9.807e-05/0.01159, allocations: 180.4 kB / 285.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.01161, allocations: 23.86 kB / 285.6 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.01164, allocations: 29.77 kB / 285.7 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.01164, allocations: 256 / 285.7 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.31e-07/0.01164, allocations: 4 kB / 285.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01164, allocations: 3.938 kB / 285.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.01175, allocations: 173 kB / 285.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01175, allocations: 0 / 285.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.01179, allocations: 15.98 kB / 285.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.01195, allocations: 75.62 kB / 285.9 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.01196, allocations: 0 / 285.9 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008725/0.01283, allocations: 2.099 MB / 288 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01283, allocations: 0 / 288 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.01306, allocations: 203.8 kB / 288.2 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.01309, allocations: 23.86 kB / 288.3 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.0131, allocations: 4 kB / 288.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.01319, allocations: 28 kB / 288.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.01323, allocations: 15.97 kB / 288.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01324, allocations: 8 kB / 288.3 MB, free: 1.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.586e-05/0.01332, allocations: 197.1 kB / 288.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01332, allocations: 0 / 288.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.01356, allocations: 75.89 kB / 288.6 MB, free: 1.316 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 7.261e-05/0.01363, allocations: 95.25 kB / 288.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.014, allocations: 407.4 kB / 289.1 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01401, allocations: 0 / 289.1 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.01414, allocations: 229.9 kB / 289.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.01432, allocations: 52.27 kB / 289.4 MB, free: 496 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.01548, allocations: 0.6629 MB / 290 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.01552, allocations: 84.17 kB / 290.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.395e-05/0.01559, allocations: 22.3 kB / 290.1 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.01571, allocations: 118.2 kB / 290.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01571, allocations: 0 / 290.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of Templates: time 0.005451/0.02116, allocations: 4.166 MB / 294.4 MB, free: 11.46 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8146764896810055]