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.001208/0.001208, allocations: 83.69 kB / 21.7 MB, free: 2.848 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.001357/0.001357, allocations: 160.4 kB / 24.99 MB, free: 8.801 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.039/1.039, allocations: 177 MB / 205.2 MB, free: 5.438 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.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.934e-05, allocations: 6.25 kB / 273 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003316/0.003345, allocations: 2.799 MB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.004644, allocations: 0.6777 MB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.004782, allocations: 7.938 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.00492, allocations: 43.58 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.005092, allocations: 103.1 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.005363, allocations: 79.83 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.005705, allocations: 378.2 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.005849, allocations: 60.75 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.006058, allocations: 195.5 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.006185, allocations: 111.7 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.006223, allocations: 32 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.272e-05/0.006255, allocations: 28 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.006305, allocations: 71.69 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.006396, allocations: 107.7 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.006639, allocations: 211.3 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.006642, allocations: 3.938 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006643, allocations: 0 / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006648, allocations: 4 kB / 277.9 MB, free: 12.77 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.0008488/0.007497, allocations: 0.6544 MB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.007537, allocations: 15.98 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.007625, allocations: 56.73 kB / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.007894, allocations: 220.1 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.007912, allocations: 16.88 kB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.007937, allocations: 20.38 kB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.00824, allocations: 270.4 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.008249, allocations: 192 / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.008268, allocations: 8.375 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.008279, allocations: 11.94 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.008428, allocations: 90.88 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/0.009342, allocations: 0.7926 MB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.009565, allocations: 122 kB / 280.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.231e-05/0.009627, allocations: 39.61 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.009648, allocations: 4 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.009859, allocations: 216.8 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.00986, allocations: 4 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006335/0.01049, allocations: 281.2 kB / 280.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.01055, allocations: 136.5 kB / 280.9 MB, free: 9.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.01072, allocations: 292.3 kB / 281.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.01075, allocations: 29.7 kB / 281.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.01084, allocations: 226.9 kB / 281.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.01088, allocations: 59.52 kB / 281.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.01093, allocations: 59.22 kB / 281.5 MB, free: 8.887 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.01105, allocations: 0.504 MB / 282 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.205e-05/0.01112, allocations: 65.67 kB / 282.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.01125, allocations: 231.6 kB / 282.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.01139, allocations: 163.4 kB / 282.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01139, allocations: 0 / 282.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003448/0.01174, allocations: 296.3 kB / 282.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.01177, allocations: 33.64 kB / 282.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01177, allocations: 4 kB / 282.8 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002806/0.01205, allocations: 79.8 kB / 282.9 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.01214, allocations: 39.92 kB / 282.9 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.01335, allocations: 1.973 MB / 284.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.01348, allocations: 43.81 kB / 284.9 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.0135, allocations: 8.047 kB / 284.9 MB, free: 5.18 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 0.000103/0.0136, allocations: 183.9 kB / 285.1 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.01363, allocations: 23.86 kB / 285.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.01366, allocations: 30.11 kB / 285.2 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01366, allocations: 0 / 285.2 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01366, allocations: 4 kB / 285.2 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01366, allocations: 4 kB / 285.2 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.01382, allocations: 212.4 kB / 285.4 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01383, allocations: 0 / 285.4 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.01387, allocations: 15.98 kB / 285.4 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.01408, allocations: 83.61 kB / 285.5 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.01409, allocations: 0 / 285.5 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.01511, allocations: 1.98 MB / 287.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01512, allocations: 7.938 kB / 287.5 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.01538, allocations: 218.4 kB / 287.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.01541, allocations: 31.78 kB / 287.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.01543, allocations: 0 / 287.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.01551, allocations: 27.97 kB / 287.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.01558, allocations: 19.97 kB / 287.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.01559, allocations: 11.98 kB / 287.8 MB, free: 2.137 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.01571, allocations: 201.1 kB / 288 MB, free: 1.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01571, allocations: 0 / 288 MB, free: 1.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.01596, allocations: 83.84 kB / 288 MB, free: 1.863 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.0001166/0.01607, allocations: 115.1 kB / 288.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.01647, allocations: 381.5 kB / 288.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01647, allocations: 4 kB / 288.5 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.01666, allocations: 241.7 kB / 288.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01689, allocations: 60.58 kB / 288.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.01803, allocations: 479.1 kB / 289.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.048e-05/0.01808, allocations: 88.17 kB / 289.4 MB, free: 420 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.941e-05/0.01815, allocations: 18.3 kB / 289.4 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.01821, allocations: 24.5 kB / 289.4 MB, free: 380 kB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01821, allocations: 4 kB / 289.4 MB, free: 376 kB / 266.7 MB Notification: Performance of Templates: time 0.006305/0.02451, allocations: 4.142 MB / 293.6 MB, free: 12.28 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: 3.102547481888905]