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.002558/0.002558, allocations: 91.92 kB / 20.97 MB, free: 3.441 MB / 18.57 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.002648/0.002648, allocations: 145.1 kB / 24.26 MB, free: 152 kB / 18.57 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 1.578/1.578, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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 1.643e-06/1.643e-06, allocations: 0 / 267.4 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.171e-05, allocations: 2.312 kB / 267.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004829/0.00486, allocations: 2.733 MB / 270.1 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.006241, allocations: 0.6505 MB / 270.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.006387, allocations: 4 kB / 270.8 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.006554, allocations: 43.56 kB / 270.8 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.006781, allocations: 99.12 kB / 270.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.007081, allocations: 99.75 kB / 271 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.007563, allocations: 366.4 kB / 271.3 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.007737, allocations: 64.81 kB / 271.4 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.008034, allocations: 191.6 kB / 271.6 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.008239, allocations: 119.6 kB / 271.7 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.00831, allocations: 28 kB / 271.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.008373, allocations: 28 kB / 271.8 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.148e-05/0.008454, allocations: 63.75 kB / 271.8 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.008611, allocations: 107.7 kB / 271.9 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.009099, allocations: 342.9 kB / 272.3 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.009103, allocations: 0 / 272.3 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.009105, allocations: 0 / 272.3 MB, free: 1.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.009111, allocations: 0 / 272.3 MB, free: 1.754 MB / 250.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.001328/0.01044, allocations: 0.662 MB / 272.9 MB, free: 1.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.01048, allocations: 16.03 kB / 272.9 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.01059, allocations: 48.75 kB / 273 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.01099, allocations: 232 kB / 273.2 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.01101, allocations: 16.86 kB / 273.2 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.01106, allocations: 20.38 kB / 273.3 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.01168, allocations: 320.3 kB / 273.6 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.01169, allocations: 192 / 273.6 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.01171, allocations: 8.375 kB / 273.6 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.01173, allocations: 15.92 kB / 273.6 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005994/0.01233, allocations: 201.9 kB / 273.8 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.01432, allocations: 0.9483 MB / 274.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.01498, allocations: 199.1 kB / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.01524, allocations: 75.66 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.01527, allocations: 4 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004512/0.01572, allocations: 227.6 kB / 275.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.01572, allocations: 0 / 275.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001795/0.01751, allocations: 452.3 kB / 275.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.0176, allocations: 110.8 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.01802, allocations: 348.3 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.01805, allocations: 29.7 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.01827, allocations: 238.9 kB / 276.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.01833, allocations: 51.58 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.01844, allocations: 55.36 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003016/0.01874, allocations: 0.5157 MB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.01903, allocations: 105.7 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.01948, allocations: 285.2 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.02008, allocations: 281.2 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.02009, allocations: 0 / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001073/0.02116, allocations: 416.5 kB / 278.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.02121, allocations: 29.7 kB / 278.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.02122, allocations: 4 kB / 278.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005622/0.02178, allocations: 107.6 kB / 278.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.02196, allocations: 39.91 kB / 278.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.02501, allocations: 2.356 MB / 280.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.0253, allocations: 43.89 kB / 280.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.02532, allocations: 11.94 kB / 280.7 MB, free: 8.793 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 0.0001996/0.02552, allocations: 191.8 kB / 280.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.02558, allocations: 27.86 kB / 280.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.02563, allocations: 21.77 kB / 280.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.02563, allocations: 4 kB / 280.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.02564, allocations: 0 / 280.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.02564, allocations: 0 / 280.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.02619, allocations: 244.4 kB / 281.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02619, allocations: 0 / 281.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.02629, allocations: 19.98 kB / 281.2 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/0.02672, allocations: 99.61 kB / 281.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.02674, allocations: 4 kB / 281.3 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.02944, allocations: 2.309 MB / 283.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02944, allocations: 0 / 283.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.03028, allocations: 307.7 kB / 283.9 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.03034, allocations: 31.78 kB / 283.9 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.03037, allocations: 4 kB / 283.9 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.03057, allocations: 27.97 kB / 283.9 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.03066, allocations: 27.91 kB / 284 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.03067, allocations: 0 / 284 MB, free: 5.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002591/0.03093, allocations: 241.1 kB / 284.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03093, allocations: 0 / 284.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003967/0.03133, allocations: 71.89 kB / 284.3 MB, free: 4.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: 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.0001495/0.03148, allocations: 99.25 kB / 284.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.03262, allocations: 0.5026 MB / 284.9 MB, free: 4.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.03262, allocations: 4 kB / 284.9 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.03311, allocations: 285.4 kB / 285.1 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.03343, allocations: 48.5 kB / 285.2 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.03573, allocations: 0.6825 MB / 285.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.03589, allocations: 142.1 kB / 286 MB, free: 3.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.03599, allocations: 26.28 kB / 286 MB, free: 3.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.03606, allocations: 20.5 kB / 286.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03606, allocations: 0 / 286.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of Templates: time 0.00922/0.04528, allocations: 3.866 MB / 289.9 MB, free: 15.26 MB / 282.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.552339200978167]