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.0008264/0.0008264, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001001/0.001001, allocations: 168.1 kB / 24.82 MB, free: 9.277 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.049/1.049, allocations: 177 MB / 205.1 MB, free: 5.473 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.533e-06/1.533e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.552e-05, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003102/0.003128, allocations: 2.768 MB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.004292, allocations: 0.6776 MB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.004447, allocations: 8 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.004583, allocations: 47.52 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.004775, allocations: 103.1 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.005038, allocations: 83.77 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.005353, allocations: 366.3 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.005498, allocations: 64.73 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.005726, allocations: 195.5 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.005858, allocations: 115.6 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.005899, allocations: 32 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.281e-05/0.005932, allocations: 28 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.005979, allocations: 71.67 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.006055, allocations: 103.8 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.006291, allocations: 223.1 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.006295, allocations: 0 / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.006296, allocations: 0 / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.006303, allocations: 3.984 kB / 278.2 MB, free: 12.28 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.0008715/0.007175, allocations: 0.6506 MB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.007231, allocations: 19.98 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.007308, allocations: 44.75 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.007596, allocations: 216.1 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.007619, allocations: 20.81 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.007648, allocations: 24.38 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.007944, allocations: 250.4 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.007954, allocations: 192 / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.007971, allocations: 12.38 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.007981, allocations: 7.938 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.445e-05/0.008076, allocations: 75.42 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/0.008927, allocations: 0.7502 MB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.009099, allocations: 115.1 kB / 280.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.009142, allocations: 35.67 kB / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.009163, allocations: 4 kB / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.009352, allocations: 223.4 kB / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.009354, allocations: 0 / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005737/0.009927, allocations: 265.2 kB / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.009981, allocations: 136.5 kB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.01014, allocations: 280.2 kB / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.01016, allocations: 33.7 kB / 281.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01027, allocations: 234.9 kB / 281.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.01029, allocations: 51.52 kB / 281.6 MB, free: 8.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.01036, allocations: 63.33 kB / 281.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01048, allocations: 0.5001 MB / 282.2 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.01054, allocations: 45.69 kB / 282.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.01066, allocations: 235.5 kB / 282.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.01077, allocations: 158.6 kB / 282.6 MB, free: 7.477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01077, allocations: 0 / 282.6 MB, free: 7.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003024/0.01108, allocations: 280.4 kB / 282.9 MB, free: 7.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.01111, allocations: 36.36 kB / 282.9 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.01112, allocations: 3.938 kB / 283 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.01136, allocations: 83.8 kB / 283 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.01145, allocations: 35.91 kB / 283.1 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.0126, allocations: 1.942 MB / 285 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.01273, allocations: 43.81 kB / 285.1 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01274, allocations: 4.078 kB / 285.1 MB, free: 4.902 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 9.917e-05/0.01284, allocations: 172.5 kB / 285.2 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.01288, allocations: 31.8 kB / 285.3 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.01291, allocations: 26.11 kB / 285.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.01291, allocations: 8.031 kB / 285.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01291, allocations: 0 / 285.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01291, allocations: 0 / 285.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.01305, allocations: 173.1 kB / 285.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01305, allocations: 0 / 285.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.0131, allocations: 19.92 kB / 285.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.01329, allocations: 83.55 kB / 285.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.0133, allocations: 7.984 kB / 285.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009109/0.01422, allocations: 1.942 MB / 287.5 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01422, allocations: 4.031 kB / 287.5 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.01444, allocations: 202.7 kB / 287.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.01447, allocations: 31.78 kB / 287.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.01449, allocations: 3.938 kB / 287.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.01457, allocations: 23.98 kB / 287.8 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.01462, allocations: 27.89 kB / 287.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.01463, allocations: 4 kB / 287.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.11e-05/0.01472, allocations: 205.1 kB / 288 MB, free: 1.766 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01472, allocations: 0 / 288 MB, free: 1.766 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.01493, allocations: 79.84 kB / 288.1 MB, free: 1.688 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 0.0001113/0.01504, allocations: 99.25 kB / 288.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000331/0.01538, allocations: 372.6 kB / 288.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01538, allocations: 4.312 kB / 288.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.01554, allocations: 253.4 kB / 288.8 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01576, allocations: 44.41 kB / 288.8 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.01665, allocations: 483.2 kB / 289.3 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.718e-05/0.0167, allocations: 92.11 kB / 289.4 MB, free: 264 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.438e-05/0.01678, allocations: 22.3 kB / 289.4 MB, free: 244 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.0169, allocations: 122.2 kB / 289.5 MB, free: 120 kB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.0169, allocations: 0 / 289.5 MB, free: 120 kB / 266.7 MB Notification: Performance of Templates: time 0.006155/0.02306, allocations: 4.419 MB / 294 MB, free: 11.77 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.955058727879077]