Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001655/0.001655, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002162/0.002162, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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.428/1.428, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 71.88 kB / 379.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2655, allocations: 53.4 MB / 432.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004613/0.2701, allocations: 2.816 MB / 435.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.2717, allocations: 0.7167 MB / 436 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.2719, allocations: 4 kB / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.2721, allocations: 35.58 kB / 436 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.2723, allocations: 103.2 kB / 436.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.2726, allocations: 83.84 kB / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.2731, allocations: 350.5 kB / 436.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.2733, allocations: 60.89 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.2735, allocations: 143.4 kB / 436.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.2737, allocations: 155.3 kB / 436.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.2738, allocations: 31.94 kB / 437 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.088e-05/0.2738, allocations: 28 kB / 437 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.596e-05/0.2739, allocations: 67.7 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.2741, allocations: 147.3 kB / 437.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.2745, allocations: 335.9 kB / 437.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2745, allocations: 3.938 kB / 437.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2745, allocations: 0 / 437.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2745, allocations: 0 / 437.5 MB, free: 1.691 MB / 334.1 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.001332/0.2758, allocations: 0.5584 MB / 438.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2759, allocations: 12.03 kB / 438.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.276, allocations: 36.73 kB / 438.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.2764, allocations: 226 kB / 438.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.2765, allocations: 12.81 kB / 438.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.2765, allocations: 28.31 kB / 438.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.2771, allocations: 247.5 kB / 438.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2772, allocations: 0 / 438.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.2772, allocations: 8 kB / 438.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.2772, allocations: 12 kB / 438.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.2778, allocations: 217.6 kB / 438.9 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.2795, allocations: 0.8735 MB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.2802, allocations: 202.6 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.2804, allocations: 80.8 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.2804, allocations: 4 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.2809, allocations: 178.6 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.2809, allocations: 4 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001653/0.2825, allocations: 430.2 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.2826, allocations: 128.5 kB / 440.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.283, allocations: 277.8 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.283, allocations: 25.7 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.2832, allocations: 184.2 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.2832, allocations: 59.52 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.2833, allocations: 49.88 kB / 441.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2835, allocations: 338.8 kB / 441.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.2838, allocations: 84.39 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.2841, allocations: 175.2 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.2847, allocations: 259.9 kB / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2847, allocations: 0 / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009809/0.2857, allocations: 387.8 kB / 442.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.2857, allocations: 36.36 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2857, allocations: 7.922 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.2861, allocations: 76.78 kB / 442.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.2863, allocations: 47.94 kB / 442.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.2888, allocations: 1.81 MB / 444.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.2892, allocations: 47.81 kB / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.2892, allocations: 8 kB / 444.6 MB, free: 10.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 20 * 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 0.0001793/0.2894, allocations: 144.6 kB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.2894, allocations: 27.8 kB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.2895, allocations: 30.06 kB / 444.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2895, allocations: 7.984 kB / 444.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.2895, allocations: 0 / 444.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2895, allocations: 0 / 444.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.2898, allocations: 276.5 kB / 445 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.2898, allocations: 3.938 kB / 445.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.29, allocations: 23.97 kB / 445.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.2902, allocations: 76.78 kB / 445.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2903, allocations: 0 / 445.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.2925, allocations: 1.81 MB / 447 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2925, allocations: 0 / 447 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.2933, allocations: 301.3 kB / 447.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.2934, allocations: 27.8 kB / 447.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.2934, allocations: 7.984 kB / 447.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.2937, allocations: 27.97 kB / 447.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.2938, allocations: 27.95 kB / 447.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2938, allocations: 4 kB / 447.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.294, allocations: 205.1 kB / 447.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.294, allocations: 0 / 447.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004371/0.2944, allocations: 75.89 kB / 447.6 MB, free: 6.941 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: 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.0001782/0.2946, allocations: 106.8 kB / 447.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009319/0.2956, allocations: 393.8 kB / 448.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2956, allocations: 4 kB / 448.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.296, allocations: 218.5 kB / 448.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.2963, allocations: 60.95 kB / 448.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.2983, allocations: 0.5916 MB / 449 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.2987, allocations: 0.748 MB / 449.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/0.2988, allocations: 31.42 kB / 449.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2988, allocations: 0 / 449.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of Templates: time 0.007494/0.3063, allocations: 4.379 MB / 454.1 MB, free: 344 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.7547005789820105]