Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001931/0.001931, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002301/0.002301, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.599/1.599, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 55.91 kB / 373.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 53.33 MB / 426.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004504/0.1121, allocations: 2.785 MB / 429.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1139, allocations: 0.7128 MB / 430.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.114, allocations: 4 kB / 430.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.1142, allocations: 47.56 kB / 430.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.1145, allocations: 95.19 kB / 430.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.1148, allocations: 99.81 kB / 430.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.1153, allocations: 358.5 kB / 430.9 MB, free: 172 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.1155, allocations: 52.73 kB / 431 MB, free: 112 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.231/0.3465, allocations: 139.8 kB / 431.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.3469, allocations: 146.1 kB / 431.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.347, allocations: 28.88 kB / 431.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.3471, allocations: 29.5 kB / 431.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.3472, allocations: 64.44 kB / 431.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.3474, allocations: 145.1 kB / 431.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005421/0.3479, allocations: 327.6 kB / 431.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3479, allocations: 0.5312 kB / 431.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3479, allocations: 1.469 kB / 431.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3479, allocations: 0 / 431.8 MB, free: 8.113 MB / 350.1 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.001425/0.3494, allocations: 0.6515 MB / 432.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3494, allocations: 9.625 kB / 432.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/0.3495, allocations: 31.94 kB / 432.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.3498, allocations: 281.6 kB / 432.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3498, allocations: 14.06 kB / 432.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.3499, allocations: 22.42 kB / 432.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.3506, allocations: 277.3 kB / 433.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3506, allocations: 3.938 kB / 433.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.3506, allocations: 9.531 kB / 433.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3506, allocations: 4.75 kB / 433.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007552/0.3514, allocations: 248.6 kB / 433.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.3528, allocations: 0.9471 MB / 434.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.3537, allocations: 236.1 kB / 434.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.3541, allocations: 92.92 kB / 434.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3541, allocations: 2.406 kB / 434.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.3546, allocations: 178.9 kB / 434.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3546, allocations: 0 / 434.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002531/0.3571, allocations: 0.6544 MB / 435.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.3571, allocations: 109.6 kB / 435.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.3574, allocations: 261.2 kB / 435.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3575, allocations: 30.23 kB / 435.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3576, allocations: 182.5 kB / 436 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.3576, allocations: 41.22 kB / 436.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.636e-05/0.3577, allocations: 47.89 kB / 436.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.3578, allocations: 337.7 kB / 436.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.3582, allocations: 92.89 kB / 436.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.3586, allocations: 172.2 kB / 436.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.3593, allocations: 266.2 kB / 437 MB, free: 5.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3593, allocations: 224 / 437 MB, free: 5.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001356/0.3607, allocations: 439.5 kB / 437.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.3607, allocations: 38.78 kB / 437.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3607, allocations: 1.062 kB / 437.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004158/0.3611, allocations: 84.8 kB / 437.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.3614, allocations: 35.8 kB / 437.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.3638, allocations: 1.945 MB / 439.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.3642, allocations: 55.11 kB / 439.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.3642, allocations: 10.92 kB / 439.6 MB, free: 3.973 MB / 350.1 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.0001328/0.3643, allocations: 140.6 kB / 439.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.3644, allocations: 23.05 kB / 439.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.3644, allocations: 30 kB / 439.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3644, allocations: 9.016 kB / 439.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3644, allocations: 0.9375 kB / 439.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3644, allocations: 1.031 kB / 439.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.3647, allocations: 294.1 kB / 440.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3647, allocations: 0 / 440.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.3648, allocations: 22.62 kB / 440.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/0.3651, allocations: 79.48 kB / 440.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3651, allocations: 9.906 kB / 440.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.3673, allocations: 1.758 MB / 441.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3673, allocations: 1.344 kB / 441.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3684, allocations: 360.2 kB / 442.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.3685, allocations: 101.8 kB / 442.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.3685, allocations: 6.422 kB / 442.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.3688, allocations: 37.44 kB / 442.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.3688, allocations: 19.45 kB / 442.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.3689, allocations: 3.047 kB / 442.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.369, allocations: 193.2 kB / 442.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.369, allocations: 0 / 442.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.3695, allocations: 70.8 kB / 442.7 MB, free: 1.91 MB / 350.1 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.0001308/0.3696, allocations: 107.1 kB / 442.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.3706, allocations: 403.3 kB / 443.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3706, allocations: 448 / 443.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.3711, allocations: 230.4 kB / 443.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.3714, allocations: 48.44 kB / 443.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3726, allocations: 453.3 kB / 443.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.3728, allocations: 0.7466 MB / 444.7 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.3729, allocations: 25.69 kB / 444.7 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.373, allocations: 18.12 kB / 444.7 MB, free: 460 kB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.373, allocations: 1.031 kB / 444.7 MB, free: 460 kB / 350.1 MB Notification: Performance of Templates: time 0.00975/0.3827, allocations: 3.926 MB / 448.6 MB, free: 232 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.03669248893857]