Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000769/0.000769, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.001893, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009895/0.0009895, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002327, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8402/0.8402, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1469/0.9871, allocations: 52.49 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 4 kB / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.109e-05, allocations: 2.312 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00281/0.002831, allocations: 2.795 MB / 242.6 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007994/0.00363, allocations: 0.6906 MB / 243.3 MB, free: 2.848 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.003721, allocations: 7.938 kB / 243.3 MB, free: 2.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.51e-05/0.003796, allocations: 39.58 kB / 243.3 MB, free: 2.801 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.003921, allocations: 96 kB / 243.4 MB, free: 2.707 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.004075, allocations: 105 kB / 243.5 MB, free: 2.605 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.00435, allocations: 374.2 kB / 243.9 MB, free: 2.238 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.004485, allocations: 63.77 kB / 243.9 MB, free: 2.176 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.004694, allocations: 224.2 kB / 244.2 MB, free: 1.957 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.004819, allocations: 119.6 kB / 244.3 MB, free: 1.84 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.004856, allocations: 28.91 kB / 244.3 MB, free: 1.812 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.193e-05/0.004888, allocations: 28 kB / 244.3 MB, free: 1.785 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.004928, allocations: 49.59 kB / 244.4 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.004995, allocations: 79.88 kB / 244.5 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.005189, allocations: 191.3 kB / 244.6 MB, free: 1.473 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.005202, allocations: 7.984 kB / 244.7 MB, free: 1.465 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.005202, allocations: 0 / 244.7 MB, free: 1.465 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.005214, allocations: 0.6562 kB / 244.7 MB, free: 1.465 MB / 234.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.0007212/0.005935, allocations: 0.5751 MB / 245.2 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.005962, allocations: 9.5 kB / 245.2 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.006016, allocations: 32.91 kB / 245.3 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.006211, allocations: 197.2 kB / 245.5 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.006225, allocations: 21.44 kB / 245.5 MB, free: 0.582 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.00625, allocations: 20.97 kB / 245.5 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.006534, allocations: 259.9 kB / 245.8 MB, free: 292 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.006544, allocations: 1.875 kB / 245.8 MB, free: 292 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.006562, allocations: 8.375 kB / 245.8 MB, free: 284 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.00657, allocations: 11.94 kB / 245.8 MB, free: 272 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.00665, allocations: 63.39 kB / 245.8 MB, free: 212 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.007329, allocations: 0.6633 MB / 246.5 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.007503, allocations: 103.9 kB / 246.6 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.007536, allocations: 21.52 kB / 246.6 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.007552, allocations: 0 / 246.6 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.007826, allocations: 167.6 kB / 246.8 MB, free: 15.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.41e-07/0.007827, allocations: 0 / 246.8 MB, free: 15.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005039/0.008331, allocations: 270.1 kB / 247.1 MB, free: 14.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.008358, allocations: 55.41 kB / 247.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.00849, allocations: 237 kB / 247.3 MB, free: 14.6 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.008508, allocations: 29.7 kB / 247.4 MB, free: 14.56 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.008569, allocations: 168.1 kB / 247.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.008593, allocations: 51.61 kB / 247.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.008642, allocations: 45.64 kB / 247.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.008713, allocations: 334.8 kB / 248 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.364e-05/0.008757, allocations: 57.62 kB / 248 MB, free: 13.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.323e-05/0.00884, allocations: 182.4 kB / 248.2 MB, free: 13.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.008953, allocations: 166.2 kB / 248.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.008955, allocations: 0 / 248.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002392/0.009195, allocations: 255.6 kB / 248.6 MB, free: 13.2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.009226, allocations: 41.69 kB / 248.6 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.00923, allocations: 288 / 248.6 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.00945, allocations: 72.75 kB / 248.7 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.863e-05/0.009539, allocations: 51.91 kB / 248.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00085/0.01039, allocations: 1.477 MB / 250.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.0105, allocations: 43.77 kB / 250.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.01051, allocations: 8 kB / 250.3 MB, free: 11.41 MB / 250.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 6.92e-05/0.01058, allocations: 121.8 kB / 250.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.0106, allocations: 19.97 kB / 250.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.01062, allocations: 25.77 kB / 250.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01063, allocations: 4.031 kB / 250.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-07/0.01063, allocations: 4 kB / 250.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01063, allocations: 0 / 250.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.409e-05/0.01072, allocations: 137.7 kB / 250.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01073, allocations: 4 kB / 250.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.01077, allocations: 15.94 kB / 250.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01079, allocations: 19.84 kB / 250.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001521/0.01094, allocations: 68.81 kB / 250.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01095, allocations: 4 kB / 250.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006973/0.01164, allocations: 1.434 MB / 252.1 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01164, allocations: 4 kB / 252.1 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.01181, allocations: 161.8 kB / 252.3 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.01183, allocations: 4 kB / 252.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.01191, allocations: 24.02 kB / 252.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.01195, allocations: 15.97 kB / 252.3 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.01195, allocations: 4 kB / 252.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.538e-05/0.01201, allocations: 82.77 kB / 252.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01201, allocations: 0 / 252.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.01221, allocations: 71.89 kB / 252.5 MB, free: 9.055 MB / 250.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 8.382e-05/0.01229, allocations: 88.3 kB / 252.6 MB, free: 8.961 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.01263, allocations: 344.3 kB / 252.9 MB, free: 8.59 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.01263, allocations: 4 kB / 252.9 MB, free: 8.586 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.01276, allocations: 180 kB / 253.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.01302, allocations: 443.1 kB / 253.5 MB, free: 7.895 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.01507, allocations: 0.6808 MB / 254.2 MB, free: 7.184 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.953e-05/0.01511, allocations: 84.31 kB / 254.3 MB, free: 7.082 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.892e-05/0.01517, allocations: 22.28 kB / 254.3 MB, free: 7.059 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.01529, allocations: 103.3 kB / 254.4 MB, free: 6.957 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01529, allocations: 0 / 254.4 MB, free: 6.957 MB / 250.7 MB Notification: Performance of Templates: time 0.005401/0.02069, allocations: 4.214 MB / 258.6 MB, free: 2.816 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.451702415011823]