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.001708/0.001708, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002398/0.002398, allocations: 217 kB / 24.5 MB, free: 4.133 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.475/1.475, allocations: 230.5 MB / 258.1 MB, free: 8 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.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 0.001898/0.001898, allocations: 63.91 kB / 379.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2629, allocations: 53.41 MB / 432.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004464/0.2674, allocations: 2.82 MB / 435.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2687, allocations: 0.7128 MB / 436 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.2688, allocations: 4 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.269, allocations: 47.5 kB / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.2692, allocations: 95.25 kB / 436.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.2695, allocations: 83.84 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.2699, allocations: 346.5 kB / 436.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2701, allocations: 64.89 kB / 436.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.2703, allocations: 135.4 kB / 436.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.2705, allocations: 159.3 kB / 436.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.2706, allocations: 28 kB / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.858e-05/0.2706, allocations: 28 kB / 437 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.2707, allocations: 63.77 kB / 437 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.2709, allocations: 159.1 kB / 437.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.2713, allocations: 335.9 kB / 437.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2713, allocations: 0 / 437.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2713, allocations: 0 / 437.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.2713, allocations: 0 / 437.5 MB, free: 1.676 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.001188/0.2725, allocations: 0.5623 MB / 438.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2725, allocations: 8.031 kB / 438.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.2726, allocations: 36.75 kB / 438.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.273, allocations: 229.9 kB / 438.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.273, allocations: 12.81 kB / 438.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.2731, allocations: 20.38 kB / 438.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.2736, allocations: 247.5 kB / 438.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2736, allocations: 0 / 438.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.2737, allocations: 4 kB / 438.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2737, allocations: 4 kB / 438.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.2743, allocations: 225.6 kB / 438.9 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.2759, allocations: 0.8774 MB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.2765, allocations: 201.7 kB / 439.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.2768, allocations: 88.8 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.2768, allocations: 4 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.2772, allocations: 178.6 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.2772, allocations: 4 kB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001619/0.2789, allocations: 438.2 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.2789, allocations: 132.5 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.2792, allocations: 265.8 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.2793, allocations: 29.7 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.2794, allocations: 180.2 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.2795, allocations: 51.59 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/0.2796, allocations: 45.7 kB / 441.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2797, allocations: 334.8 kB / 441.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.28, allocations: 83.94 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.2803, allocations: 161.1 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.2808, allocations: 246.1 kB / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2808, allocations: 0 / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008721/0.2817, allocations: 371.8 kB / 442.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.2818, allocations: 37.7 kB / 442.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2818, allocations: 4 kB / 442.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.2821, allocations: 76.81 kB / 442.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.2823, allocations: 35.91 kB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.2844, allocations: 1.649 MB / 444.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.2847, allocations: 55.75 kB / 444.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.2848, allocations: 12 kB / 444.4 MB, free: 10.4 MB / 350.1 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 0.0001535/0.2849, allocations: 133 kB / 444.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.285, allocations: 27.81 kB / 444.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.285, allocations: 34.17 kB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.285, allocations: 3.938 kB / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.285, allocations: 0 / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.285, allocations: 0 / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.2853, allocations: 272.5 kB / 444.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2853, allocations: 0 / 444.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.2855, allocations: 31.91 kB / 444.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.2857, allocations: 68.8 kB / 444.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.2857, allocations: 3.984 kB / 444.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.2876, allocations: 1.649 MB / 446.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2876, allocations: 0 / 446.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/0.2884, allocations: 305.4 kB / 446.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.2885, allocations: 35.73 kB / 446.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.2885, allocations: 15.92 kB / 446.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.2887, allocations: 23.97 kB / 446.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.2888, allocations: 27.95 kB / 447 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.2888, allocations: 7.938 kB / 447 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.289, allocations: 193.2 kB / 447.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.289, allocations: 0 / 447.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.2894, allocations: 79.89 kB / 447.2 MB, free: 7.316 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.0001456/0.2895, allocations: 102.8 kB / 447.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008915/0.2904, allocations: 381.9 kB / 447.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2904, allocations: 0 / 447.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.2908, allocations: 234.4 kB / 447.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.2912, allocations: 52.86 kB / 448 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.293, allocations: 0.5915 MB / 448.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.2934, allocations: 0.7479 MB / 449.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.2935, allocations: 27.44 kB / 449.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.2935, allocations: 0 / 449.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of Templates: time 0.007512/0.301, allocations: 4.351 MB / 453.7 MB, free: 0.7617 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.295283972052857]