Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.002297/0.002297, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002692/0.002692, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.546/1.546, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.InvertingSchmittTrigger,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.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 55.92 kB / 373.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1107, allocations: 53.33 MB / 426.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004367/0.115, allocations: 2.779 MB / 429.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1164, allocations: 0.7128 MB / 430.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.1165, allocations: 7.938 kB / 430.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.1167, allocations: 39.58 kB / 430.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1169, allocations: 95.23 kB / 430.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.1172, allocations: 99.81 kB / 430.6 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.1176, allocations: 354.5 kB / 430.9 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.1178, allocations: 60.72 kB / 431 MB, free: 60 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2208/0.3386, allocations: 132.6 kB / 431.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.3389, allocations: 147.8 kB / 431.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.775e-05/0.339, allocations: 29.47 kB / 431.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.339, allocations: 29.56 kB / 431.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.3391, allocations: 65.28 kB / 431.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.3393, allocations: 151.7 kB / 431.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.3397, allocations: 326.2 kB / 431.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3397, allocations: 0 / 431.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.3397, allocations: 0.6875 kB / 431.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.3397, allocations: 0.9688 kB / 431.8 MB, free: 8.637 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.001289/0.341, allocations: 0.6532 MB / 432.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3411, allocations: 9.812 kB / 432.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.931e-05/0.3412, allocations: 31.66 kB / 432.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.3415, allocations: 279.2 kB / 432.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.3415, allocations: 12.97 kB / 432.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.3416, allocations: 19.88 kB / 432.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.3422, allocations: 275.9 kB / 433.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3422, allocations: 5.969 kB / 433.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.3423, allocations: 6.219 kB / 433.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.3423, allocations: 5.906 kB / 433.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/0.343, allocations: 251.1 kB / 433.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.3445, allocations: 0.9435 MB / 434.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009416/0.3455, allocations: 235 kB / 434.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.3458, allocations: 98.28 kB / 434.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.3459, allocations: 9.25 kB / 434.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004789/0.3463, allocations: 177.6 kB / 434.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.3463, allocations: 0.6562 kB / 434.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002512/0.3489, allocations: 0.6496 MB / 435.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3489, allocations: 112.9 kB / 435.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.3492, allocations: 268.5 kB / 435.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3492, allocations: 31.8 kB / 435.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3493, allocations: 183.7 kB / 436.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.3494, allocations: 40.58 kB / 436.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.3494, allocations: 50.22 kB / 436.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.3495, allocations: 337.1 kB / 436.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.3499, allocations: 102.2 kB / 436.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.3503, allocations: 182.1 kB / 436.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.351, allocations: 284.6 kB / 437 MB, free: 6.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.351, allocations: 0 / 437 MB, free: 6.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001339/0.3523, allocations: 453.5 kB / 437.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/0.3524, allocations: 34.38 kB / 437.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3524, allocations: 2.219 kB / 437.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000426/0.3528, allocations: 83.28 kB / 437.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.353, allocations: 45.56 kB / 437.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.356, allocations: 2.001 MB / 439.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.3564, allocations: 53.56 kB / 439.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.3564, allocations: 12.3 kB / 439.7 MB, free: 4.359 MB / 350.1 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 0.000143/0.3565, allocations: 140.5 kB / 439.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.3566, allocations: 23.17 kB / 439.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.3566, allocations: 26.84 kB / 439.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3566, allocations: 2.406 kB / 439.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3566, allocations: 0.5156 kB / 439.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3566, allocations: 0.7969 kB / 439.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.357, allocations: 297.8 kB / 440.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.357, allocations: 2.812 kB / 440.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.3572, allocations: 28.42 kB / 440.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/0.3575, allocations: 80.23 kB / 440.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3575, allocations: 5.156 kB / 440.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.3598, allocations: 1.916 MB / 442.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3598, allocations: 5.156 kB / 442.2 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.3611, allocations: 364 kB / 442.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.3611, allocations: 101.4 kB / 442.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.3612, allocations: 6.766 kB / 442.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.3615, allocations: 29.75 kB / 442.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.3615, allocations: 18.72 kB / 442.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3616, allocations: 3.719 kB / 442.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.3618, allocations: 204.6 kB / 442.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3618, allocations: 1.5 kB / 442.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000472/0.3622, allocations: 69.95 kB / 443 MB, free: 1.898 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.0001604/0.3624, allocations: 104.4 kB / 443.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.3639, allocations: 469.2 kB / 443.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3639, allocations: 0.5625 kB / 443.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005728/0.3645, allocations: 234.1 kB / 443.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.3649, allocations: 58.55 kB / 443.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.3683, allocations: 0.8967 MB / 444.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3686, allocations: 0.7491 MB / 445.5 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.3687, allocations: 24.97 kB / 445.5 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.3688, allocations: 24.42 kB / 445.5 MB, free: 416 kB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3688, allocations: 0 / 445.5 MB, free: 416 kB / 350.1 MB Notification: Performance of Templates: time 0.01011/0.3789, allocations: 3.89 MB / 449.4 MB, free: 176 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.950059197843075]