Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001951/0.001951, allocations: 116.8 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00247/0.00247, allocations: 202.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 374.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1178, allocations: 53.33 MB / 427.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.006845/0.1247, allocations: 2.781 MB / 430.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.127, allocations: 0.7128 MB / 431.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.1272, allocations: 4 kB / 431.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.1274, allocations: 43.58 kB / 431.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.1277, allocations: 95.19 kB / 431.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.1281, allocations: 95.81 kB / 431.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006917/0.1288, allocations: 354.5 kB / 432 MB, free: 324 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.129, allocations: 56.72 kB / 432.1 MB, free: 260 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.1294, allocations: 143.5 kB / 432.2 MB, free: 116 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2386/0.3679, allocations: 143.5 kB / 432.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.3681, allocations: 32.53 kB / 432.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3682, allocations: 29.06 kB / 432.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.3683, allocations: 64.06 kB / 432.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.3684, allocations: 145.9 kB / 432.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.3689, allocations: 322.8 kB / 432.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3689, allocations: 0.875 kB / 432.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3689, allocations: 0 / 432.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.3689, allocations: 0.9062 kB / 432.9 MB, free: 8.293 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.001262/0.3702, allocations: 0.6549 MB / 433.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3703, allocations: 10.41 kB / 433.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.3703, allocations: 32.81 kB / 433.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.3707, allocations: 285.4 kB / 433.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.3707, allocations: 16.19 kB / 433.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.3708, allocations: 21.78 kB / 433.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.3714, allocations: 274.9 kB / 434.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3715, allocations: 3.938 kB / 434.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.3715, allocations: 6.312 kB / 434.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3715, allocations: 7.344 kB / 434.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.3722, allocations: 245.7 kB / 434.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.3736, allocations: 0.9456 MB / 435.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/0.3745, allocations: 236.1 kB / 435.6 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.3748, allocations: 101.3 kB / 435.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.3748, allocations: 1.156 kB / 435.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004673/0.3753, allocations: 181.6 kB / 435.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.3753, allocations: 0 / 435.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00244/0.3777, allocations: 0.6519 MB / 436.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3778, allocations: 106.2 kB / 436.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.3781, allocations: 262.5 kB / 436.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3781, allocations: 34.64 kB / 437 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.3782, allocations: 183.5 kB / 437.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3782, allocations: 42.77 kB / 437.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.3783, allocations: 44.14 kB / 437.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.3784, allocations: 343.8 kB / 437.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.3787, allocations: 98.02 kB / 437.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.3791, allocations: 164.6 kB / 437.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.3798, allocations: 267.4 kB / 438.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3798, allocations: 1.125 kB / 438.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001286/0.3811, allocations: 436.9 kB / 438.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.3811, allocations: 36.61 kB / 438.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3811, allocations: 2.188 kB / 438.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.3816, allocations: 78.56 kB / 438.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.3818, allocations: 40.16 kB / 438.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.3842, allocations: 1.944 MB / 440.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.3845, allocations: 52.03 kB / 440.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.3846, allocations: 18.44 kB / 440.7 MB, free: 4.148 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.0001527/0.3847, allocations: 134.5 kB / 440.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.3848, allocations: 25.02 kB / 440.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.3848, allocations: 29.97 kB / 440.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3848, allocations: 0.9375 kB / 440.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3848, allocations: 1.938 kB / 440.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3848, allocations: 1.078 kB / 440.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.3851, allocations: 295.3 kB / 441.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3851, allocations: 4 kB / 441.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3853, allocations: 29.95 kB / 441.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/0.3856, allocations: 73.8 kB / 441.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3856, allocations: 9.312 kB / 441.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.3876, allocations: 1.753 MB / 443 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3876, allocations: 1.719 kB / 443 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.3888, allocations: 365.7 kB / 443.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.3889, allocations: 100.7 kB / 443.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.3889, allocations: 8.969 kB / 443.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.3892, allocations: 30.98 kB / 443.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/0.3893, allocations: 20.58 kB / 443.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3893, allocations: 5.234 kB / 443.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.3895, allocations: 200.1 kB / 443.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3895, allocations: 0 / 443.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004311/0.3899, allocations: 70.2 kB / 443.8 MB, free: 2.098 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.0001429/0.39, allocations: 105.6 kB / 443.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.3911, allocations: 400.1 kB / 444.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3911, allocations: 0 / 444.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.3916, allocations: 232.9 kB / 444.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3919, allocations: 49.12 kB / 444.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.3931, allocations: 479 kB / 445 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.3933, allocations: 0.7467 MB / 445.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.3934, allocations: 20 kB / 445.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3934, allocations: 1.125 kB / 445.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of Templates: time 0.00908/0.4025, allocations: 4.184 MB / 450 MB, free: 316 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.340562660014257]