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.00146/0.00146, allocations: 117.7 kB / 19.18 MB, free: 3.906 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.001565/0.001565, allocations: 201 kB / 22.12 MB, free: 0.9648 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.46/1.46, 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.001985/0.001985, allocations: 67.91 kB / 374.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.1003, allocations: 53.32 MB / 427.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004365/0.1047, allocations: 2.781 MB / 430.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1062, allocations: 0.7128 MB / 431.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.1065, allocations: 4 kB / 431.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.1067, allocations: 43.56 kB / 431.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1069, allocations: 103.2 kB / 431.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1073, allocations: 95.81 kB / 431.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.1078, allocations: 354.5 kB / 432 MB, free: 440 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.108, allocations: 60.72 kB / 432 MB, free: 372 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.1082, allocations: 135.4 kB / 432.2 MB, free: 236 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.1084, allocations: 143.4 kB / 432.3 MB, free: 92 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.1085, allocations: 35.94 kB / 432.3 MB, free: 56 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.554e-05/0.1085, allocations: 28 kB / 432.4 MB, free: 28 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1945/0.303, allocations: 53.75 kB / 432.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.3033, allocations: 150.8 kB / 432.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000463/0.3038, allocations: 327.4 kB / 432.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.3038, allocations: 0.625 kB / 432.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3038, allocations: 0.5312 kB / 432.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3038, allocations: 1.781 kB / 432.9 MB, free: 8.402 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.001218/0.305, allocations: 0.6486 MB / 433.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.305, allocations: 9.188 kB / 433.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.3051, allocations: 32.03 kB / 433.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.3055, allocations: 282.9 kB / 433.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3055, allocations: 13 kB / 433.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.3056, allocations: 22.06 kB / 433.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.3061, allocations: 276.1 kB / 434.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3062, allocations: 6 kB / 434.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.3062, allocations: 10.59 kB / 434.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3062, allocations: 6.156 kB / 434.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/0.3069, allocations: 241.6 kB / 434.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.3081, allocations: 0.9553 MB / 435.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/0.3089, allocations: 233 kB / 435.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.3092, allocations: 96.36 kB / 435.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.3092, allocations: 5.781 kB / 435.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.3096, allocations: 179.4 kB / 435.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3096, allocations: 0.9375 kB / 435.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002215/0.3118, allocations: 0.6535 MB / 436.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.3119, allocations: 105.8 kB / 436.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.3122, allocations: 262.2 kB / 436.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.3122, allocations: 28.77 kB / 436.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.3124, allocations: 179.7 kB / 437.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.3124, allocations: 41.2 kB / 437.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3125, allocations: 51.64 kB / 437.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.3126, allocations: 337.5 kB / 437.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.313, allocations: 97.72 kB / 437.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.3133, allocations: 165.9 kB / 437.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006225/0.3139, allocations: 271 kB / 438 MB, free: 5.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3139, allocations: 1.25 kB / 438 MB, free: 5.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001125/0.3151, allocations: 438.8 kB / 438.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.3151, allocations: 33.36 kB / 438.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3151, allocations: 2.75 kB / 438.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/0.3155, allocations: 76.2 kB / 438.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.3157, allocations: 48.08 kB / 438.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.3179, allocations: 1.944 MB / 440.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.3182, allocations: 56.02 kB / 440.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.3182, allocations: 6.328 kB / 440.6 MB, free: 4.262 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.0001186/0.3183, allocations: 146.9 kB / 440.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.3183, allocations: 22.92 kB / 440.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.3184, allocations: 30.92 kB / 440.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3184, allocations: 1.188 kB / 440.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3184, allocations: 6.516 kB / 440.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3184, allocations: 0.5156 kB / 440.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.3186, allocations: 295.3 kB / 441.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3186, allocations: 0 / 441.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.3188, allocations: 26.08 kB / 441.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.319, allocations: 77.55 kB / 441.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.319, allocations: 9.844 kB / 441.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.3209, allocations: 1.755 MB / 443 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3209, allocations: 0 / 443 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.3218, allocations: 360.2 kB / 443.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.3219, allocations: 100.1 kB / 443.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.3219, allocations: 10.14 kB / 443.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3221, allocations: 30.2 kB / 443.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.3222, allocations: 17.69 kB / 443.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3222, allocations: 12.61 kB / 443.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.3224, allocations: 192.5 kB / 443.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3224, allocations: 0 / 443.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.3228, allocations: 69.11 kB / 443.7 MB, free: 2.25 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.0001261/0.3229, allocations: 103.5 kB / 443.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009291/0.3238, allocations: 399 kB / 444.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3238, allocations: 0 / 444.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.3243, allocations: 237.2 kB / 444.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3246, allocations: 47.89 kB / 444.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.3257, allocations: 483.9 kB / 445 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.3259, allocations: 0.7497 MB / 445.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.326, allocations: 19.86 kB / 445.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.326, allocations: 1.219 kB / 445.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of Templates: time 0.007444/0.3334, allocations: 4.173 MB / 449.9 MB, free: 484 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.2067834860645235]