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.0008159/0.0008159, allocations: 84 kB / 21.43 MB, free: 3.129 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.003067/0.003067, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 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 0.8367/0.8367, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.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.064e-06/2.064e-06, allocations: 0 / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.775e-05, allocations: 2.281 kB / 319.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002839/0.002867, allocations: 2.586 MB / 322.3 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008031/0.00367, allocations: 0.6544 MB / 323 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.003776, allocations: 7.938 kB / 323 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.003891, allocations: 43.58 kB / 323 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.00402, allocations: 99.19 kB / 323.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.004231, allocations: 91.81 kB / 323.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.004506, allocations: 370.3 kB / 323.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.004643, allocations: 56.84 kB / 323.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.004801, allocations: 199.5 kB / 323.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.00491, allocations: 107.7 kB / 323.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.004945, allocations: 28 kB / 324 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.931e-05/0.004974, allocations: 35.94 kB / 324 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.005016, allocations: 63.75 kB / 324.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.903e-05/0.005095, allocations: 107.7 kB / 324.2 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.005363, allocations: 334.9 kB / 324.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.005366, allocations: 4 kB / 324.5 MB, free: 1.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.005368, allocations: 0 / 324.5 MB, free: 1.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005373, allocations: 0 / 324.5 MB, free: 1.016 MB / 282.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.0007887/0.006161, allocations: 0.5625 MB / 325.1 MB, free: 428 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.006192, allocations: 15.97 kB / 325.1 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.006248, allocations: 32.75 kB / 325.1 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.006503, allocations: 225.1 kB / 325.3 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.006517, allocations: 12.88 kB / 325.3 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.00654, allocations: 24.38 kB / 325.4 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.006918, allocations: 330.7 kB / 325.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006927, allocations: 192 / 325.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.006943, allocations: 4.375 kB / 325.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.00695, allocations: 7.938 kB / 325.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.00732, allocations: 249.8 kB / 325.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008431/0.008164, allocations: 0.8097 MB / 326.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.008589, allocations: 230.5 kB / 327 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.008744, allocations: 92.78 kB / 327.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.008761, allocations: 8 kB / 327.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.009022, allocations: 224 kB / 327.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.009023, allocations: 3.984 kB / 327.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001115/0.01014, allocations: 0.5799 MB / 327.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.01018, allocations: 106.8 kB / 328 MB, free: 13.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.01035, allocations: 265.8 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.01037, allocations: 33.7 kB / 328.3 MB, free: 13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.01048, allocations: 180.1 kB / 328.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.01051, allocations: 47.62 kB / 328.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.01056, allocations: 49.88 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.01063, allocations: 334.8 kB / 328.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.0108, allocations: 133.5 kB / 329 MB, free: 12.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.01107, allocations: 259.9 kB / 329.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.01141, allocations: 293.9 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01141, allocations: 0 / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000583/0.01199, allocations: 472.2 kB / 330 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.01202, allocations: 37.7 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01203, allocations: 0 / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/0.01225, allocations: 84.8 kB / 330.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.01234, allocations: 43.91 kB / 330.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.01386, allocations: 1.86 MB / 332 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.014, allocations: 51.92 kB / 332.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.01402, allocations: 11.94 kB / 332.1 MB, free: 8.938 MB / 298.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.617e-05/0.01412, allocations: 142.2 kB / 332.2 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.01414, allocations: 23.86 kB / 332.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.01416, allocations: 21.78 kB / 332.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-07/0.01416, allocations: 0 / 332.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.01416, allocations: 7.984 kB / 332.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01417, allocations: 0 / 332.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.01429, allocations: 197.1 kB / 332.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01429, allocations: 11.98 kB / 332.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.01435, allocations: 15.98 kB / 332.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.01448, allocations: 76.8 kB / 332.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01449, allocations: 0 / 332.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.01565, allocations: 1.793 MB / 334.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01565, allocations: 11.95 kB / 334.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.01641, allocations: 361.5 kB / 334.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.01644, allocations: 27.8 kB / 334.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.01646, allocations: 0 / 334.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.01656, allocations: 35.95 kB / 334.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.01661, allocations: 23.91 kB / 334.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.01662, allocations: 0 / 334.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.01673, allocations: 185.2 kB / 335 MB, free: 5.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01673, allocations: 4 kB / 335 MB, free: 5.863 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.01696, allocations: 83.81 kB / 335.1 MB, free: 5.781 MB / 298.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 9.665e-05/0.01705, allocations: 95.25 kB / 335.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006521/0.01771, allocations: 0.5061 MB / 335.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01771, allocations: 3.938 kB / 335.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.01793, allocations: 218.6 kB / 335.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.01812, allocations: 40.86 kB / 335.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.01954, allocations: 0.9098 MB / 336.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.01962, allocations: 142.1 kB / 337 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.01967, allocations: 20.5 kB / 337 MB, free: 3.746 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01967, allocations: 0 / 337 MB, free: 3.746 MB / 298.7 MB Notification: Performance of Templates: time 0.00369/0.02336, allocations: 4.239 MB / 341.2 MB, free: 15.52 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] 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.217457177117467]