Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001862/0.001862, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.001867/0.001867, allocations: 149.5 kB / 24.26 MB, free: 168 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.554/1.554, allocations: 173.3 MB / 200.8 MB, free: 9.34 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.SchmittTrigger,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.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 267.4 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.276e-05, allocations: 2.312 kB / 267.4 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.006124/0.006157, allocations: 2.733 MB / 270.1 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.008042, allocations: 0.6505 MB / 270.7 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.00822, allocations: 4 kB / 270.8 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.00845, allocations: 43.56 kB / 270.8 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.008779, allocations: 99.14 kB / 270.9 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.009171, allocations: 103.7 kB / 271 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006226/0.009793, allocations: 362.4 kB / 271.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.01, allocations: 60.88 kB / 271.4 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.01041, allocations: 195.5 kB / 271.6 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.01067, allocations: 115.6 kB / 271.7 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.01076, allocations: 32 kB / 271.7 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.846e-05/0.01084, allocations: 28 kB / 271.8 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.01095, allocations: 63.75 kB / 271.8 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.01115, allocations: 107.7 kB / 271.9 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006325/0.01179, allocations: 338.9 kB / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01179, allocations: 0 / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01179, allocations: 0 / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.0118, allocations: 4 kB / 272.3 MB, free: 1.773 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.001679/0.01348, allocations: 0.6581 MB / 272.9 MB, free: 1.074 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.01352, allocations: 8.922 kB / 272.9 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.01366, allocations: 44.75 kB / 273 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.01418, allocations: 236 kB / 273.2 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.01423, allocations: 16.88 kB / 273.2 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.01429, allocations: 20.38 kB / 273.2 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.01538, allocations: 324.3 kB / 273.6 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.01539, allocations: 4.188 kB / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.01543, allocations: 8.375 kB / 273.6 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.01544, allocations: 7.938 kB / 273.6 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/0.01628, allocations: 197.9 kB / 273.8 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.01864, allocations: 0.9483 MB / 274.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/0.01958, allocations: 207.1 kB / 274.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.01993, allocations: 79.64 kB / 275 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.01997, allocations: 4 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006185/0.02059, allocations: 227.4 kB / 275.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.02059, allocations: 224 / 275.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.002527/0.02312, allocations: 448.8 kB / 275.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.02322, allocations: 106.8 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.02374, allocations: 344.3 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.02378, allocations: 29.7 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.02402, allocations: 230.9 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.136e-05/0.0241, allocations: 51.62 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.02425, allocations: 51.36 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003654/0.02461, allocations: 0.5118 MB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.02501, allocations: 105.7 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.02557, allocations: 261.9 kB / 277.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007761/0.02635, allocations: 261.4 kB / 277.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.02635, allocations: 0 / 277.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001419/0.02777, allocations: 408.4 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.02783, allocations: 33.7 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.02783, allocations: 0 / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007138/0.02855, allocations: 107.6 kB / 278.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.02878, allocations: 31.98 kB / 278.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004156/0.03294, allocations: 2.317 MB / 280.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.03335, allocations: 47.75 kB / 280.5 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.03339, allocations: 11.94 kB / 280.5 MB, free: 8.949 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 0.0002758/0.03367, allocations: 176.6 kB / 280.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.919e-05/0.03375, allocations: 31.8 kB / 280.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.03382, allocations: 29.8 kB / 280.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.03383, allocations: 0 / 280.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.03383, allocations: 0 / 280.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.03385, allocations: 4.031 kB / 280.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.03426, allocations: 244.5 kB / 281 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.03426, allocations: 0 / 281 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.03441, allocations: 15.98 kB / 281 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006018/0.03501, allocations: 95.61 kB / 281.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.03503, allocations: 4 kB / 281.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003386/0.03842, allocations: 2.072 MB / 283.2 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.03842, allocations: 0 / 283.2 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.03964, allocations: 311.4 kB / 283.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.03971, allocations: 19.91 kB / 283.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.03977, allocations: 7.984 kB / 283.5 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.04005, allocations: 19.98 kB / 283.5 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.04017, allocations: 23.91 kB / 283.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.04019, allocations: 4 kB / 283.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003554/0.04054, allocations: 237.1 kB / 283.8 MB, free: 5.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04054, allocations: 4 kB / 283.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006169/0.04116, allocations: 75.84 kB / 283.9 MB, free: 5.402 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.0002111/0.04137, allocations: 103.2 kB / 284 MB, free: 5.289 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.04267, allocations: 469.3 kB / 284.4 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.04267, allocations: 8.062 kB / 284.5 MB, free: 4.789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.04331, allocations: 285.3 kB / 284.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.04379, allocations: 52.47 kB / 284.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.04511, allocations: 430.5 kB / 285.2 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.04531, allocations: 138.2 kB / 285.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.04545, allocations: 25.94 kB / 285.4 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.04554, allocations: 24.5 kB / 285.4 MB, free: 3.781 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.04554, allocations: 0 / 285.4 MB, free: 3.781 MB / 266.7 MB Notification: Performance of Templates: time 0.01272/0.05826, allocations: 3.884 MB / 289.3 MB, free: 15.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.508511413005181]