Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008032/0.008032, allocations: 107.4 kB / 21.98 MB, free: 5.223 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.002151/0.002151, allocations: 210.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.615/1.615, allocations: 230.6 MB / 259 MB, free: 8.266 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 64.77 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3109, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004247/0.3152, allocations: 2.808 MB / 436 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.317, allocations: 0.7129 MB / 436.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.3172, allocations: 7.938 kB / 436.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.3174, allocations: 39.58 kB / 436.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.3176, allocations: 91.25 kB / 436.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.3179, allocations: 95.83 kB / 437 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.3184, allocations: 366.5 kB / 437.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3186, allocations: 49.86 kB / 437.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.3188, allocations: 147.4 kB / 437.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.319, allocations: 155.2 kB / 437.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.319, allocations: 28 kB / 437.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.914e-05/0.3191, allocations: 28 kB / 437.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.3191, allocations: 59.83 kB / 437.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.3193, allocations: 147.2 kB / 437.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.3197, allocations: 327.9 kB / 438.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.912e-06/0.3197, allocations: 4 kB / 438.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3197, allocations: 0 / 438.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3197, allocations: 4 kB / 438.2 MB, free: 1.922 MB / 334.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.001191/0.3209, allocations: 0.5764 MB / 438.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3209, allocations: 8.031 kB / 438.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.321, allocations: 32.75 kB / 438.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3214, allocations: 229.9 kB / 439.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3214, allocations: 12.81 kB / 439.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.3215, allocations: 24.38 kB / 439.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.3221, allocations: 282.1 kB / 439.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3221, allocations: 0 / 439.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.3221, allocations: 4 kB / 439.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3222, allocations: 8 kB / 439.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/0.3229, allocations: 249.5 kB / 439.6 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.3245, allocations: 0.9057 MB / 440.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000802/0.3253, allocations: 238.5 kB / 440.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.3256, allocations: 93 kB / 440.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.3256, allocations: 7.938 kB / 440.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004366/0.3261, allocations: 177.8 kB / 441.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.3261, allocations: 0 / 441.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002207/0.3283, allocations: 0.5788 MB / 441.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.3284, allocations: 110.8 kB / 441.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.3287, allocations: 261.9 kB / 442 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3287, allocations: 29.7 kB / 442 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3288, allocations: 176.1 kB / 442.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.3289, allocations: 55.55 kB / 442.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.329, allocations: 45.66 kB / 442.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3291, allocations: 338.8 kB / 442.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.3295, allocations: 95.92 kB / 442.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.3298, allocations: 164.5 kB / 442.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.3305, allocations: 274.8 kB / 443.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3305, allocations: 0 / 443.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001195/0.3317, allocations: 435.7 kB / 443.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.3318, allocations: 29.7 kB / 443.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3318, allocations: 4 kB / 443.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003884/0.3322, allocations: 80.8 kB / 443.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.3324, allocations: 43.91 kB / 443.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.335, allocations: 1.84 MB / 445.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.3353, allocations: 59.89 kB / 445.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.3354, allocations: 4 kB / 445.6 MB, free: 10.09 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.000166/0.3355, allocations: 138.4 kB / 445.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.3356, allocations: 23.86 kB / 445.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.3356, allocations: 29.7 kB / 445.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3356, allocations: 4.031 kB / 445.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.3356, allocations: 0 / 445.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3356, allocations: 4 kB / 445.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.3359, allocations: 276.4 kB / 446.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3359, allocations: 0 / 446.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3361, allocations: 19.98 kB / 446.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.3363, allocations: 76.8 kB / 446.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.3364, allocations: 7.938 kB / 446.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.3386, allocations: 1.651 MB / 447.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3386, allocations: 0 / 447.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3397, allocations: 361.6 kB / 448.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.3397, allocations: 27.78 kB / 448.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.3397, allocations: 7.938 kB / 448.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.34, allocations: 31.95 kB / 448.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.3401, allocations: 23.97 kB / 448.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3401, allocations: 4 kB / 448.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002235/0.3403, allocations: 189.2 kB / 448.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3403, allocations: 3.938 kB / 448.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.3407, allocations: 67.95 kB / 448.6 MB, free: 6.977 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.0001341/0.3408, allocations: 103.2 kB / 448.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009743/0.3418, allocations: 397.8 kB / 449 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3418, allocations: 0 / 449 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.3422, allocations: 231 kB / 449.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3426, allocations: 50.45 kB / 449.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.3438, allocations: 480 kB / 449.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.3442, allocations: 0.7556 MB / 450.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.3443, allocations: 19.44 kB / 450.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3443, allocations: 0 / 450.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of Templates: time 0.007708/0.352, allocations: 4.188 MB / 454.8 MB, free: 0.6914 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.816979088122025]