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.001544/0.001544, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.001638/0.001638, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.47/1.47, allocations: 230.4 MB / 255.4 MB, free: 14.99 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.001892/0.001892, allocations: 63.91 kB / 374.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1095, allocations: 53.31 MB / 428.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00449/0.114, allocations: 2.783 MB / 430.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1154, allocations: 0.7089 MB / 431.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.1155, allocations: 4 kB / 431.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.1157, allocations: 43.58 kB / 431.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.1159, allocations: 99.17 kB / 431.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1162, allocations: 99.81 kB / 431.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.1166, allocations: 354.5 kB / 432.2 MB, free: 188 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1168, allocations: 60.7 kB / 432.2 MB, free: 120 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2515/0.3683, allocations: 136.1 kB / 432.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.3687, allocations: 143.2 kB / 432.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3688, allocations: 29.47 kB / 432.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.3689, allocations: 30.06 kB / 432.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.3689, allocations: 65.3 kB / 432.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.3691, allocations: 148.3 kB / 432.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.3696, allocations: 326.4 kB / 433.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3696, allocations: 2.125 kB / 433.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3696, allocations: 0 / 433.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.3696, allocations: 0 / 433.1 MB, free: 8.145 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.00128/0.3709, allocations: 0.6496 MB / 433.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3709, allocations: 8.969 kB / 433.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.371, allocations: 36.09 kB / 433.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.3714, allocations: 283.9 kB / 434.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.3714, allocations: 16.66 kB / 434.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.3714, allocations: 17.5 kB / 434.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.3721, allocations: 278.6 kB / 434.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3721, allocations: 3.938 kB / 434.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.3721, allocations: 9.281 kB / 434.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.3721, allocations: 4.344 kB / 434.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.3728, allocations: 247.6 kB / 434.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.3742, allocations: 0.9455 MB / 435.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/0.3751, allocations: 232.7 kB / 435.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.3754, allocations: 98.17 kB / 435.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3754, allocations: 2.406 kB / 435.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.3759, allocations: 177.9 kB / 436.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.963e-06/0.3759, allocations: 1.125 kB / 436.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002413/0.3783, allocations: 0.6538 MB / 436.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.3783, allocations: 105.7 kB / 436.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.3786, allocations: 263.4 kB / 437.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.3787, allocations: 27.98 kB / 437.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3788, allocations: 183.9 kB / 437.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.3788, allocations: 40.61 kB / 437.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.3789, allocations: 51 kB / 437.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.379, allocations: 336.9 kB / 437.7 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.3793, allocations: 95.14 kB / 437.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.3797, allocations: 166.6 kB / 438 MB, free: 5.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.3804, allocations: 269.7 kB / 438.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3804, allocations: 1.984 kB / 438.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001222/0.3816, allocations: 440.4 kB / 438.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.3817, allocations: 37.39 kB / 438.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3817, allocations: 2.156 kB / 438.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004149/0.3821, allocations: 74.8 kB / 438.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.3823, allocations: 48.23 kB / 438.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.3847, allocations: 1.946 MB / 440.8 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.3851, allocations: 58.44 kB / 440.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3851, allocations: 7.891 kB / 440.8 MB, free: 3.996 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.0001512/0.3852, allocations: 139.7 kB / 441 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.3853, allocations: 23.89 kB / 441 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.3853, allocations: 30.08 kB / 441 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3853, allocations: 1.031 kB / 441 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3853, allocations: 1.062 kB / 441 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3853, allocations: 1.734 kB / 441 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.3856, allocations: 299.9 kB / 441.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3856, allocations: 0.6094 kB / 441.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.3858, allocations: 22.11 kB / 441.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.3861, allocations: 76.47 kB / 441.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.3861, allocations: 13.47 kB / 441.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.388, allocations: 1.753 MB / 443.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.388, allocations: 0 / 443.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.3891, allocations: 359.2 kB / 443.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.3892, allocations: 100.8 kB / 443.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.3892, allocations: 7.391 kB / 443.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.3894, allocations: 32.42 kB / 443.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.3895, allocations: 19.19 kB / 443.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.3895, allocations: 12.89 kB / 443.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.3897, allocations: 189.5 kB / 443.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3897, allocations: 0 / 443.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.3901, allocations: 70.61 kB / 444 MB, free: 1.945 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.0001508/0.3903, allocations: 108.6 kB / 444.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.3913, allocations: 401.1 kB / 444.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3913, allocations: 0 / 444.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.3918, allocations: 237.8 kB / 444.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.3921, allocations: 47.83 kB / 444.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3932, allocations: 482.3 kB / 445.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.3934, allocations: 0.7466 MB / 446 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.3935, allocations: 23.81 kB / 446 MB, free: 464 kB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3935, allocations: 0 / 446 MB, free: 464 kB / 350.1 MB Notification: Performance of Templates: time 0.008391/0.4019, allocations: 4.181 MB / 450.2 MB, free: 156 kB / 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.493887305026874]