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.000958/0.000958, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009733/0.0009733, allocations: 165.3 kB / 24.91 MB, free: 8.254 MB / 18.57 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 0.956/0.956, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.512e-06/1.512e-06, allocations: 0 / 273.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.587e-05, allocations: 6.312 kB / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00325/0.003276, allocations: 2.818 MB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.0047, allocations: 0.7047 MB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.004849, allocations: 7.938 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.004981, allocations: 43.58 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.005162, allocations: 99.19 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.005417, allocations: 87.75 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.005734, allocations: 366.3 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.005874, allocations: 62.72 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.006077, allocations: 207.4 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.006217, allocations: 115.6 kB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.006255, allocations: 28 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.875e-05/0.006283, allocations: 28 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.006329, allocations: 67.69 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.062e-05/0.00641, allocations: 107.7 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.006638, allocations: 215.2 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.006641, allocations: 4 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.006642, allocations: 0 / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.006647, allocations: 0 / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006408/0.007288, allocations: 0.5258 MB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.00732, allocations: 15.98 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.007383, allocations: 44.91 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.007613, allocations: 189.2 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.007629, allocations: 16.88 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.007651, allocations: 20.38 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.007909, allocations: 254.4 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.007919, allocations: 192 / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.007935, allocations: 8.375 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.007943, allocations: 11.94 kB / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.008045, allocations: 59.47 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.009117, allocations: 0.5984 MB / 280.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.009277, allocations: 90.53 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.009316, allocations: 32.84 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.009334, allocations: 4 kB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.00951, allocations: 199.8 kB / 280.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.009511, allocations: 0 / 280.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000499/0.01001, allocations: 238.4 kB / 280.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.01006, allocations: 132.5 kB / 280.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.01019, allocations: 233 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.01021, allocations: 33.7 kB / 281.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.01028, allocations: 164.7 kB / 281.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.01031, allocations: 51.52 kB / 281.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.01036, allocations: 49.69 kB / 281.3 MB, free: 9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.01044, allocations: 334.8 kB / 281.7 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.01049, allocations: 49.69 kB / 281.7 MB, free: 8.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/0.01058, allocations: 195.3 kB / 281.9 MB, free: 8.363 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.01069, allocations: 150.6 kB / 282 MB, free: 8.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.0107, allocations: 3.938 kB / 282 MB, free: 8.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000242/0.01094, allocations: 225.6 kB / 282.3 MB, free: 7.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.01097, allocations: 41.81 kB / 282.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01098, allocations: 4 kB / 282.3 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.01122, allocations: 76.72 kB / 282.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.0113, allocations: 39.92 kB / 282.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009775/0.01228, allocations: 1.368 MB / 283.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.01241, allocations: 43.81 kB / 283.8 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01242, allocations: 8.031 kB / 283.8 MB, free: 6.266 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/0.0125, allocations: 125.9 kB / 284 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.01253, allocations: 19.92 kB / 284 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.01255, allocations: 26.11 kB / 284 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01256, allocations: 4 kB / 284 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01256, allocations: 0 / 284 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01256, allocations: 3.984 kB / 284 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.01268, allocations: 137.7 kB / 284.2 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01268, allocations: 0 / 284.2 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.01273, allocations: 27.92 kB / 284.2 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.01291, allocations: 72.77 kB / 284.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.01292, allocations: 7.938 kB / 284.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007247/0.01364, allocations: 1.352 MB / 285.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01364, allocations: 0 / 285.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.01382, allocations: 164.8 kB / 285.8 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.01384, allocations: 27.8 kB / 285.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.01386, allocations: 11.94 kB / 285.8 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.01396, allocations: 28 kB / 285.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.01401, allocations: 23.91 kB / 285.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.01402, allocations: 7.984 kB / 285.9 MB, free: 4.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.94e-05/0.01408, allocations: 74.78 kB / 285.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01408, allocations: 0 / 285.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001902/0.01427, allocations: 83.84 kB / 286 MB, free: 3.938 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.761e-05/0.01437, allocations: 80.42 kB / 286.1 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.01465, allocations: 311.5 kB / 286.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.01466, allocations: 3.938 kB / 286.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.01478, allocations: 183.3 kB / 286.6 MB, free: 3.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.01495, allocations: 51.88 kB / 286.6 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.01604, allocations: 489.2 kB / 287.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.01609, allocations: 88.17 kB / 287.2 MB, free: 2.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.843e-05/0.01615, allocations: 22.3 kB / 287.2 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.01628, allocations: 99.34 kB / 287.3 MB, free: 2.539 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01628, allocations: 0 / 287.3 MB, free: 2.539 MB / 266.7 MB Notification: Performance of Templates: time 0.005906/0.02219, allocations: 4.267 MB / 291.6 MB, free: 14.33 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6844291989691556]