Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.002674/0.002674, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002225/0.002225, allocations: 161.9 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 250.4 MB, free: 7.891 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.375e-05, allocations: 6.312 kB / 250.4 MB, free: 7.883 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004582/0.004616, allocations: 2.673 MB / 253.1 MB, free: 5.191 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.006084, allocations: 0.702 MB / 253.8 MB, free: 4.48 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.006255, allocations: 7.938 kB / 253.8 MB, free: 4.473 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.006412, allocations: 43.64 kB / 253.8 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.006654, allocations: 99.12 kB / 253.9 MB, free: 4.332 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.006979, allocations: 99.73 kB / 254 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005072/0.007486, allocations: 370.2 kB / 254.4 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.007674, allocations: 60.89 kB / 254.5 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.007976, allocations: 191.5 kB / 254.6 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.008199, allocations: 119.6 kB / 254.8 MB, free: 3.504 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/0.008264, allocations: 36 kB / 254.8 MB, free: 3.469 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.008326, allocations: 28 kB / 254.8 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.008407, allocations: 63.75 kB / 254.9 MB, free: 3.379 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.008568, allocations: 107.7 kB / 255 MB, free: 3.273 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.009063, allocations: 334.9 kB / 255.3 MB, free: 2.945 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.009068, allocations: 0 / 255.3 MB, free: 2.945 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009069, allocations: 0 / 255.3 MB, free: 2.945 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.009076, allocations: 0 / 255.3 MB, free: 2.945 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.001351/0.01043, allocations: 0.666 MB / 256 MB, free: 2.238 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.01047, allocations: 15.98 kB / 256 MB, free: 2.223 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.01059, allocations: 48.73 kB / 256 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.01099, allocations: 228 kB / 256.3 MB, free: 1.922 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.01101, allocations: 12.88 kB / 256.3 MB, free: 1.91 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.01106, allocations: 28.38 kB / 256.3 MB, free: 1.883 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.01165, allocations: 272 kB / 256.6 MB, free: 1.598 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.01166, allocations: 192 / 256.6 MB, free: 1.598 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.01169, allocations: 12.38 kB / 256.6 MB, free: 1.586 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.0117, allocations: 7.938 kB / 256.6 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.01229, allocations: 197.9 kB / 256.8 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.01396, allocations: 0.8285 MB / 257.6 MB, free: 0.5 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.01462, allocations: 199.1 kB / 257.8 MB, free: 300 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.01487, allocations: 83.64 kB / 257.9 MB, free: 212 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.0149, allocations: 4 kB / 257.9 MB, free: 208 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004833/0.01538, allocations: 231.4 kB / 258.1 MB, free: 15.94 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.01538, allocations: 0 / 258.1 MB, free: 15.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.002127/0.01751, allocations: 456.8 kB / 258.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.0176, allocations: 106.8 kB / 258.7 MB, free: 15.35 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.01801, allocations: 336.2 kB / 259 MB, free: 15.01 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.01805, allocations: 33.7 kB / 259 MB, free: 14.97 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.01824, allocations: 230.9 kB / 259.3 MB, free: 14.74 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.01829, allocations: 43.69 kB / 259.3 MB, free: 14.7 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.0184, allocations: 59.31 kB / 259.4 MB, free: 14.63 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002838/0.01868, allocations: 0.5118 MB / 259.9 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.01898, allocations: 113.3 kB / 260 MB, free: 13.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.01938, allocations: 254.2 kB / 260.2 MB, free: 13.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/0.01992, allocations: 243.4 kB / 260.5 MB, free: 13.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01993, allocations: 0 / 260.5 MB, free: 13.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001049/0.02097, allocations: 407.9 kB / 260.9 MB, free: 12.99 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.02103, allocations: 41.69 kB / 260.9 MB, free: 12.94 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.02104, allocations: 0 / 260.9 MB, free: 12.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005684/0.02161, allocations: 103.6 kB / 261 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.02177, allocations: 35.92 kB / 261 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.02478, allocations: 2.34 MB / 263.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.02507, allocations: 35.86 kB / 263.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.0251, allocations: 12 kB / 263.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003563/0.02546, allocations: 236.5 kB / 263.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003563/0.02581, allocations: 242.2 kB / 263.9 MB, free: 9.754 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004406/0.02625, allocations: 223.5 kB / 264.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.033e-06/0.02625, allocations: 224 / 264.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006973/0.02695, allocations: 332.2 kB / 264.4 MB, free: 9.152 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.027, allocations: 37.64 kB / 264.5 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.027, allocations: 0 / 264.5 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.02719, allocations: 51.84 kB / 264.5 MB, free: 9.055 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.02736, allocations: 39.91 kB / 264.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.02939, allocations: 2.083 MB / 266.6 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.02966, allocations: 43.91 kB / 266.7 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.02969, allocations: 11.98 kB / 266.7 MB, free: 6.762 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0002238/0.02991, allocations: 284.1 kB / 267 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.02996, allocations: 31.8 kB / 267 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.924e-05/0.03002, allocations: 25.77 kB / 267 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.03003, allocations: 0 / 267 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.03003, allocations: 0 / 267 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.03003, allocations: 4 kB / 267 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.03035, allocations: 236.5 kB / 267.3 MB, free: 6.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.03035, allocations: 0 / 267.3 MB, free: 6.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.03046, allocations: 19.98 kB / 267.3 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/0.03089, allocations: 91.62 kB / 267.4 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.03091, allocations: 7.938 kB / 267.4 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/0.03343, allocations: 2.064 MB / 269.4 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.03343, allocations: 0 / 269.4 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008543/0.03428, allocations: 307.7 kB / 269.7 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.03433, allocations: 19.94 kB / 269.8 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.03437, allocations: 7.938 kB / 269.8 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.03456, allocations: 23.97 kB / 269.8 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.03465, allocations: 23.91 kB / 269.8 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.03467, allocations: 8 kB / 269.8 MB, free: 3.426 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002493/0.03492, allocations: 233.1 kB / 270.1 MB, free: 3.199 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03492, allocations: 0 / 270.1 MB, free: 3.199 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000556/0.03547, allocations: 127.7 kB / 270.2 MB, free: 3.074 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 0.0001681/0.03564, allocations: 99.25 kB / 270.3 MB, free: 2.965 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.03717, allocations: 0.8365 MB / 271.1 MB, free: 2.055 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.03717, allocations: 4.25 kB / 271.1 MB, free: 2.051 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004814/0.03765, allocations: 269.5 kB / 271.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.03801, allocations: 55.95 kB / 271.4 MB, free: 1.711 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.03905, allocations: 442.4 kB / 271.9 MB, free: 1.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.0392, allocations: 142.5 kB / 272 MB, free: 1.094 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.03931, allocations: 21.94 kB / 272 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.03938, allocations: 20.5 kB / 272.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.03938, allocations: 0 / 272.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of Templates: time 0.01043/0.04982, allocations: 4.254 MB / 276.3 MB, free: 12.82 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.736472337972373]