Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001907/0.001907, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.002908/0.002908, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.513/1.513, allocations: 230.2 MB / 254.5 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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 373.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1092, allocations: 53.32 MB / 427.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004156/0.1134, allocations: 2.783 MB / 430 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1147, allocations: 0.7129 MB / 430.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1148, allocations: 7.938 kB / 430.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.115, allocations: 39.58 kB / 430.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.1152, allocations: 87.27 kB / 430.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1154, allocations: 103.8 kB / 430.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.1158, allocations: 350.5 kB / 431.3 MB, free: 340 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.116, allocations: 64.7 kB / 431.3 MB, free: 268 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1162, allocations: 131.5 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2025/0.3186, allocations: 155.9 kB / 431.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.3188, allocations: 29.12 kB / 431.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3189, allocations: 29.53 kB / 431.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.319, allocations: 61.34 kB / 431.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.3192, allocations: 146.5 kB / 431.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.3197, allocations: 324 kB / 432.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3197, allocations: 0 / 432.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3197, allocations: 0.75 kB / 432.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3197, allocations: 0.9375 kB / 432.2 MB, free: 8.312 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.001307/0.321, allocations: 0.6596 MB / 432.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.321, allocations: 10.62 kB / 432.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.3211, allocations: 31.5 kB / 432.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.3215, allocations: 278.8 kB / 433.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3215, allocations: 16.22 kB / 433.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.3216, allocations: 18.94 kB / 433.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.3222, allocations: 278.6 kB / 433.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3222, allocations: 3.938 kB / 433.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.3222, allocations: 14.91 kB / 433.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3222, allocations: 5.594 kB / 433.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/0.3229, allocations: 244.1 kB / 433.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.3241, allocations: 0.9462 MB / 434.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007748/0.3249, allocations: 227 kB / 434.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.3252, allocations: 99.75 kB / 435 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3253, allocations: 3.109 kB / 435 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.3257, allocations: 186 kB / 435.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3257, allocations: 0 / 435.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002221/0.3279, allocations: 0.6502 MB / 435.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.328, allocations: 108.9 kB / 435.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.3282, allocations: 272.8 kB / 436.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3283, allocations: 29.73 kB / 436.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.3283, allocations: 183.1 kB / 436.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3284, allocations: 42.22 kB / 436.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.3285, allocations: 47.92 kB / 436.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.3285, allocations: 337.1 kB / 436.8 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.3289, allocations: 101.2 kB / 436.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.3292, allocations: 185.6 kB / 437.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006776/0.3299, allocations: 280.7 kB / 437.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3299, allocations: 0 / 437.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001199/0.3311, allocations: 454.8 kB / 437.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.3312, allocations: 37.09 kB / 437.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3312, allocations: 2.156 kB / 437.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003719/0.3315, allocations: 85.73 kB / 438 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.3317, allocations: 40.25 kB / 438 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.3342, allocations: 1.999 MB / 440 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.3346, allocations: 52.91 kB / 440 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.3346, allocations: 12.84 kB / 440.1 MB, free: 4.125 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.0001319/0.3347, allocations: 140.2 kB / 440.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3348, allocations: 29.64 kB / 440.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.3348, allocations: 32.16 kB / 440.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3348, allocations: 1.156 kB / 440.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3348, allocations: 1.375 kB / 440.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3348, allocations: 0.8906 kB / 440.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3351, allocations: 297.7 kB / 440.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3351, allocations: 0.5 kB / 440.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3352, allocations: 28.88 kB / 440.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.3355, allocations: 77.22 kB / 440.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3355, allocations: 10.59 kB / 440.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.3376, allocations: 1.906 MB / 442.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3376, allocations: 5.203 kB / 442.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3386, allocations: 370.2 kB / 442.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.3387, allocations: 101 kB / 443 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.3387, allocations: 10.83 kB / 443 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.339, allocations: 30.58 kB / 443.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.339, allocations: 18.39 kB / 443.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.339, allocations: 6.719 kB / 443.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.3392, allocations: 196 kB / 443.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3392, allocations: 2.344 kB / 443.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.3396, allocations: 70.3 kB / 443.4 MB, free: 1.906 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.0001189/0.3397, allocations: 103.3 kB / 443.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.341, allocations: 470.2 kB / 443.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.341, allocations: 0 / 443.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004971/0.3415, allocations: 233.8 kB / 444.1 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.0003337/0.3418, allocations: 57.22 kB / 444.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.3448, allocations: 0.8928 MB / 445.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.345, allocations: 0.7511 MB / 445.8 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.3451, allocations: 26.09 kB / 445.9 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.3451, allocations: 30.59 kB / 445.9 MB, free: 428 kB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3451, allocations: 0 / 445.9 MB, free: 428 kB / 350.1 MB Notification: Performance of Templates: time 0.009924/0.355, allocations: 3.877 MB / 449.8 MB, free: 196 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.844641509465873]