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.00127/0.00127, allocations: 85.91 kB / 22.21 MB, free: 2.289 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.001925/0.001925, allocations: 154.7 kB / 25.6 MB, free: 8.496 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 1.028/1.028, allocations: 177 MB / 205.9 MB, free: 4.453 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.392e-06/1.392e-06, allocations: 0 / 274.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.972e-05, allocations: 4.703 kB / 274.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003124/0.003143, allocations: 2.773 MB / 276.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.004228, allocations: 0.6726 MB / 277.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.004357, allocations: 13.09 kB / 277.6 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.004474, allocations: 47.56 kB / 277.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.004632, allocations: 105.9 kB / 277.8 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.004842, allocations: 79.77 kB / 277.9 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.005101, allocations: 366.3 kB / 278.2 MB, free: 176 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.00522, allocations: 60.89 kB / 278.3 MB, free: 112 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.005392, allocations: 191.6 kB / 278.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.005522, allocations: 123.6 kB / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.005558, allocations: 28 kB / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.158e-05/0.00559, allocations: 32 kB / 278.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.005635, allocations: 63.69 kB / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.005714, allocations: 103.8 kB / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.005925, allocations: 223.1 kB / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005928, allocations: 0 / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005929, allocations: 4 kB / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.005933, allocations: 0 / 279 MB, free: 15.35 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.0006616/0.006595, allocations: 0.6505 MB / 279.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.006623, allocations: 12.03 kB / 279.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.006683, allocations: 48.75 kB / 279.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.00688, allocations: 220 kB / 279.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.006894, allocations: 24.88 kB / 280 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.006915, allocations: 16.38 kB / 280 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.007147, allocations: 250.4 kB / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.007154, allocations: 192 / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.007173, allocations: 16.36 kB / 280.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.007179, allocations: 7.938 kB / 280.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.255e-05/0.007272, allocations: 67.44 kB / 280.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007805/0.008052, allocations: 0.7541 MB / 281.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.008215, allocations: 115 kB / 281.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.008258, allocations: 35.67 kB / 281.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.008274, allocations: 4 kB / 281.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.008438, allocations: 219.2 kB / 281.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.008439, allocations: 0 / 281.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007722/0.009211, allocations: 269.1 kB / 281.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.009253, allocations: 132.5 kB / 281.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.009409, allocations: 288.2 kB / 282.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.009427, allocations: 33.7 kB / 282.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.009516, allocations: 230.9 kB / 282.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.009544, allocations: 51.56 kB / 282.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.009602, allocations: 55.3 kB / 282.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.009715, allocations: 0.5079 MB / 283 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.009764, allocations: 53.69 kB / 283 MB, free: 11.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.009874, allocations: 233.4 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.009989, allocations: 161.2 kB / 283.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.009992, allocations: 4 kB / 283.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002892/0.01028, allocations: 270.9 kB / 283.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.01031, allocations: 37.7 kB / 283.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.01032, allocations: 3.938 kB / 283.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.01056, allocations: 83.8 kB / 283.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.01065, allocations: 35.91 kB / 283.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.01171, allocations: 1.938 MB / 285.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.01183, allocations: 43.81 kB / 285.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.01185, allocations: 7.938 kB / 285.8 MB, free: 7.977 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.901e-05/0.01194, allocations: 176.5 kB / 286 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.01196, allocations: 23.91 kB / 286 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.01199, allocations: 26.11 kB / 286.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01199, allocations: 8.031 kB / 286.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01199, allocations: 0 / 286.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.012, allocations: 0 / 286.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.01213, allocations: 177 kB / 286.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01213, allocations: 0 / 286.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.01218, allocations: 19.92 kB / 286.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.01238, allocations: 83.55 kB / 286.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.01239, allocations: 4 kB / 286.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000904/0.01329, allocations: 1.934 MB / 288.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01329, allocations: 0 / 288.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.01352, allocations: 210.2 kB / 288.5 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.0138, allocations: 27.8 kB / 288.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.01382, allocations: 3.938 kB / 288.5 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.01391, allocations: 27.97 kB / 288.5 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.01396, allocations: 23.95 kB / 288.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.01397, allocations: 0 / 288.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.694e-05/0.01406, allocations: 197.1 kB / 288.8 MB, free: 4.859 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01406, allocations: 7.938 kB / 288.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000206/0.01426, allocations: 83.88 kB / 288.8 MB, free: 4.77 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.571e-05/0.01436, allocations: 103.2 kB / 288.9 MB, free: 4.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.01465, allocations: 377.3 kB / 289.3 MB, free: 4.258 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01465, allocations: 0 / 289.3 MB, free: 4.258 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.01479, allocations: 249.7 kB / 289.6 MB, free: 3.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.01499, allocations: 48.47 kB / 289.6 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.01584, allocations: 482.9 kB / 290.1 MB, free: 3.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.062e-05/0.01588, allocations: 84.31 kB / 290.2 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.01595, allocations: 22.28 kB / 290.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.01609, allocations: 126.2 kB / 290.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01609, allocations: 0 / 290.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of Templates: time 0.006151/0.02224, allocations: 4.515 MB / 294.8 MB, free: 14.76 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 -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.9459889009594917]