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.0007517/0.0007517, allocations: 91.61 kB / 22.19 MB, free: 2.375 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.0007826/0.0007826, allocations: 162 kB / 25.45 MB, free: 9.355 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 0.8515/0.8515, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.233e-06/1.233e-06, allocations: 0 / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.758e-05, allocations: 2.281 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002391/0.002409, allocations: 2.552 MB / 302.3 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009739/0.003383, allocations: 0.6904 MB / 303 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.003497, allocations: 7.938 kB / 303 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.003606, allocations: 47.56 kB / 303 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.003756, allocations: 91.19 kB / 303.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.003978, allocations: 107.7 kB / 303.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.004253, allocations: 362.3 kB / 303.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.004376, allocations: 64.89 kB / 303.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.004543, allocations: 199.5 kB / 303.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.00466, allocations: 111.7 kB / 303.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.004696, allocations: 32 kB / 304 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.648e-05/0.004723, allocations: 28 kB / 304 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.004767, allocations: 67.69 kB / 304.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.004844, allocations: 99.75 kB / 304.2 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.005094, allocations: 334.9 kB / 304.5 MB, free: 2.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005096, allocations: 3.938 kB / 304.5 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005096, allocations: 0 / 304.5 MB, free: 2.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.0051, allocations: 0 / 304.5 MB, free: 2.098 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.0007126/0.005813, allocations: 0.5741 MB / 305.1 MB, free: 1.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.005843, allocations: 11.98 kB / 305.1 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.00589, allocations: 36.75 kB / 305.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.006122, allocations: 221.2 kB / 305.3 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.006136, allocations: 16.88 kB / 305.3 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.006157, allocations: 20.31 kB / 305.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.00651, allocations: 300 kB / 305.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.006517, allocations: 4.188 kB / 305.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.006534, allocations: 8.375 kB / 305.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.006547, allocations: 7.938 kB / 305.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.00691, allocations: 237.8 kB / 305.9 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.007741, allocations: 0.7432 MB / 306.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.008154, allocations: 230.5 kB / 306.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.00831, allocations: 96.78 kB / 307 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.008322, allocations: 0 / 307 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.008585, allocations: 233.3 kB / 307.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.008585, allocations: 0 / 307.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001138/0.009724, allocations: 0.5955 MB / 307.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.009796, allocations: 110.8 kB / 307.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.009956, allocations: 253.7 kB / 308.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.009972, allocations: 29.7 kB / 308.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.01005, allocations: 184.2 kB / 308.4 MB, free: 14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.01007, allocations: 39.69 kB / 308.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.01012, allocations: 45.66 kB / 308.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.0102, allocations: 330.8 kB / 308.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.01044, allocations: 138.5 kB / 308.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.01064, allocations: 236.8 kB / 309.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.01097, allocations: 262.5 kB / 309.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01097, allocations: 4 kB / 309.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005989/0.01157, allocations: 465.4 kB / 309.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.01159, allocations: 33.7 kB / 309.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.0116, allocations: 4.031 kB / 309.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.0118, allocations: 76.8 kB / 310 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.01188, allocations: 39.97 kB / 310 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.01335, allocations: 1.824 MB / 311.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.01351, allocations: 55.86 kB / 311.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.01352, allocations: 4.125 kB / 311.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001901/0.01371, allocations: 213.9 kB / 312.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001679/0.01388, allocations: 224.7 kB / 312.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002537/0.01413, allocations: 235.5 kB / 312.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.51e-07/0.01413, allocations: 0 / 312.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003838/0.01452, allocations: 344 kB / 312.9 MB, free: 9.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.01453, allocations: 33.69 kB / 312.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.01454, allocations: 4 kB / 312.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.528e-05/0.01459, allocations: 32.78 kB / 312.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.01467, allocations: 40.16 kB / 313 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009013/0.01557, allocations: 1.481 MB / 314.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.0157, allocations: 39.84 kB / 314.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.01571, allocations: 16.06 kB / 314.5 MB, free: 7.395 MB / 298.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 8.775e-05/0.0158, allocations: 188.3 kB / 314.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.01583, allocations: 31.78 kB / 314.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.01585, allocations: 25.77 kB / 314.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01585, allocations: 4 kB / 314.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01585, allocations: 0 / 314.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01586, allocations: 0 / 314.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.01599, allocations: 197.2 kB / 315 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01599, allocations: 0 / 315 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.01604, allocations: 23.97 kB / 315 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.01618, allocations: 80.73 kB / 315.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.01619, allocations: 3.938 kB / 315.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.01728, allocations: 1.624 MB / 316.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01728, allocations: 0 / 316.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.01779, allocations: 358.1 kB / 317 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.01781, allocations: 15.91 kB / 317.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.01783, allocations: 15.88 kB / 317.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.01793, allocations: 31.95 kB / 317.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.01799, allocations: 19.97 kB / 317.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.01799, allocations: 4 kB / 317.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.0181, allocations: 181.2 kB / 317.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0181, allocations: 0 / 317.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.01843, allocations: 127.7 kB / 317.4 MB, free: 4.324 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 7.607e-05/0.01851, allocations: 103.2 kB / 317.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007381/0.01925, allocations: 0.7336 MB / 318.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01925, allocations: 4 kB / 318.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.01947, allocations: 223.3 kB / 318.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.01965, allocations: 48.59 kB / 318.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.02022, allocations: 468 kB / 319 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.566e-05/0.02029, allocations: 138.5 kB / 319.1 MB, free: 2.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.02035, allocations: 28.48 kB / 319.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.02035, allocations: 0 / 319.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of Templates: time 0.004195/0.02455, allocations: 4.221 MB / 323.4 MB, free: 14.24 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] 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.368374967947602]