Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001483/0.001483, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.00222/0.00222, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.521/1.521, allocations: 230.6 MB / 254.8 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.SchmittTrigger,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.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_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.92 kB / 374.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 53.33 MB / 427.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004374/0.1124, allocations: 2.782 MB / 430.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1139, allocations: 0.7128 MB / 431 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.114, allocations: 4 kB / 431 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.1142, allocations: 47.56 kB / 431.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1144, allocations: 99.25 kB / 431.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.1147, allocations: 95.81 kB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004137/0.1151, allocations: 354.5 kB / 431.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.1152, allocations: 64.7 kB / 431.7 MB, free: 56 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2806/0.3959, allocations: 130.5 kB / 431.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.3962, allocations: 141.6 kB / 431.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.3962, allocations: 30.31 kB / 432 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-05/0.3963, allocations: 28.31 kB / 432 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.3964, allocations: 68.06 kB / 432.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.3965, allocations: 146.2 kB / 432.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.397, allocations: 328.1 kB / 432.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.397, allocations: 0.6562 kB / 432.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.397, allocations: 0.75 kB / 432.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.397, allocations: 0.75 kB / 432.5 MB, free: 8.086 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.001233/0.3982, allocations: 0.651 MB / 433.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3983, allocations: 13.23 kB / 433.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.959e-05/0.3984, allocations: 32.88 kB / 433.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.3987, allocations: 275.1 kB / 433.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3988, allocations: 14.22 kB / 433.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.3988, allocations: 22.38 kB / 433.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.3994, allocations: 277.8 kB / 433.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3995, allocations: 3.938 kB / 433.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.3995, allocations: 9.031 kB / 433.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3995, allocations: 5.062 kB / 433.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.4002, allocations: 249 kB / 434.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.4017, allocations: 0.9445 MB / 435 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.4026, allocations: 237 kB / 435.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.4029, allocations: 93.84 kB / 435.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.4029, allocations: 1.062 kB / 435.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.4034, allocations: 182.9 kB / 435.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.4034, allocations: 1.531 kB / 435.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002575/0.406, allocations: 0.6516 MB / 436.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.4061, allocations: 106.9 kB / 436.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.4064, allocations: 258.9 kB / 436.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.4064, allocations: 31.64 kB / 436.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.4065, allocations: 184.9 kB / 436.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.4065, allocations: 46.36 kB / 436.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.4066, allocations: 46.98 kB / 436.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.4067, allocations: 337.2 kB / 437.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.407, allocations: 98.59 kB / 437.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.4074, allocations: 168.4 kB / 437.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.4081, allocations: 268.3 kB / 437.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4081, allocations: 1.031 kB / 437.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001318/0.4094, allocations: 439.9 kB / 438.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.4095, allocations: 32.97 kB / 438.1 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.4095, allocations: 3.562 kB / 438.1 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/0.4099, allocations: 80.38 kB / 438.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.4101, allocations: 38.84 kB / 438.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.4126, allocations: 1.953 MB / 440.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.4129, allocations: 46.55 kB / 440.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.413, allocations: 10.94 kB / 440.3 MB, free: 3.945 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.0001377/0.4131, allocations: 140.6 kB / 440.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.4131, allocations: 25.42 kB / 440.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.4132, allocations: 29.75 kB / 440.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4132, allocations: 5.094 kB / 440.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4132, allocations: 1.219 kB / 440.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4132, allocations: 2.281 kB / 440.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.4135, allocations: 291 kB / 440.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4135, allocations: 1.281 kB / 440.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.4136, allocations: 25.45 kB / 440.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.4139, allocations: 79 kB / 440.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4139, allocations: 6.266 kB / 440.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.416, allocations: 1.754 MB / 442.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.416, allocations: 5.062 kB / 442.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.4171, allocations: 364 kB / 443 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.4172, allocations: 99.25 kB / 443.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.4172, allocations: 8.812 kB / 443.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.4175, allocations: 38.44 kB / 443.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/0.4175, allocations: 19.14 kB / 443.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.4176, allocations: 5.156 kB / 443.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.4177, allocations: 189 kB / 443.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4177, allocations: 1.094 kB / 443.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004212/0.4182, allocations: 76.86 kB / 443.4 MB, free: 1.887 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.4183, allocations: 104.1 kB / 443.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.4193, allocations: 402.1 kB / 443.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4193, allocations: 4.062 kB / 443.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.4198, allocations: 227.2 kB / 444.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.4201, allocations: 52.17 kB / 444.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.4213, allocations: 476.1 kB / 444.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.4215, allocations: 0.7476 MB / 445.4 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.4215, allocations: 19.77 kB / 445.4 MB, free: 416 kB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4215, allocations: 1.125 kB / 445.4 MB, free: 416 kB / 350.1 MB Notification: Performance of Templates: time 0.007756/0.4293, allocations: 4.182 MB / 449.6 MB, free: 100 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.540871033008443]