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.001458/0.001458, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001517/0.001517, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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 0.9696/0.9696, allocations: 177 MB / 204.8 MB, free: 5.582 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.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 1.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.874e-05, allocations: 2.312 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00271/0.002729, allocations: 2.806 MB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.003726, allocations: 0.6817 MB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.003839, allocations: 7.938 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.00396, allocations: 47.52 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.00411, allocations: 99.17 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.004325, allocations: 91.7 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.004624, allocations: 366.3 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.004763, allocations: 60.73 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.004936, allocations: 199.5 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.005063, allocations: 115.6 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.005102, allocations: 36 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.241e-05/0.005134, allocations: 28 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.005182, allocations: 63.75 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.00527, allocations: 107.7 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.005504, allocations: 219.2 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005506, allocations: 0 / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005507, allocations: 0 / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005511, allocations: 0 / 277.9 MB, free: 12.48 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.0006958/0.006207, allocations: 0.6544 MB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.006241, allocations: 15.98 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.006314, allocations: 52.75 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.00656, allocations: 224.1 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.006573, allocations: 12.88 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.0066, allocations: 24.38 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.00689, allocations: 266.4 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.006901, allocations: 192 / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.006921, allocations: 12.36 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.006932, allocations: 15.88 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.007078, allocations: 86.88 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.007982, allocations: 0.7887 MB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.008203, allocations: 123.1 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.008263, allocations: 35.67 kB / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.008285, allocations: 4 kB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.008481, allocations: 220.8 kB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.008482, allocations: 4 kB / 280.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005748/0.009056, allocations: 276.3 kB / 280.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.00911, allocations: 136.5 kB / 280.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.009295, allocations: 304.2 kB / 281.1 MB, free: 8.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.009314, allocations: 33.64 kB / 281.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.009414, allocations: 226.9 kB / 281.3 MB, free: 8.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.009445, allocations: 55.58 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.009508, allocations: 55.59 kB / 281.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.009626, allocations: 0.5 MB / 281.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.0097, allocations: 66.14 kB / 282 MB, free: 8.016 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.009835, allocations: 252 kB / 282.2 MB, free: 7.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.009991, allocations: 184.1 kB / 282.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009993, allocations: 0 / 282.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003442/0.01034, allocations: 311 kB / 282.7 MB, free: 7.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.01036, allocations: 40.28 kB / 282.8 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01037, allocations: 4 kB / 282.8 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/0.01065, allocations: 83.86 kB / 282.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/0.01074, allocations: 39.92 kB / 282.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.01207, allocations: 2.233 MB / 285.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.0122, allocations: 39.83 kB / 285.2 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.01222, allocations: 12 kB / 285.2 MB, free: 4.559 MB / 266.7 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 9.957e-05/0.01232, allocations: 168.5 kB / 285.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.01235, allocations: 35.84 kB / 285.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.01238, allocations: 22.16 kB / 285.4 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01238, allocations: 11.94 kB / 285.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.01238, allocations: 3.938 kB / 285.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01238, allocations: 7.922 kB / 285.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.01253, allocations: 208.5 kB / 285.6 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01253, allocations: 3.984 kB / 285.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.01258, allocations: 12 kB / 285.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.01279, allocations: 87.72 kB / 285.7 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.0128, allocations: 4 kB / 285.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.01385, allocations: 2.217 MB / 287.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01385, allocations: 0 / 287.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.01409, allocations: 215.7 kB / 288.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.01412, allocations: 27.84 kB / 288.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01414, allocations: 3.938 kB / 288.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.01423, allocations: 27.97 kB / 288.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.01429, allocations: 24.2 kB / 288.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.0143, allocations: 8.031 kB / 288.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.01448, allocations: 213.1 kB / 288.5 MB, free: 1.082 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.01448, allocations: 0 / 288.5 MB, free: 1.082 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.01485, allocations: 79.89 kB / 288.5 MB, free: 1.004 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.0001183/0.01497, allocations: 95.25 kB / 288.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.01546, allocations: 393.8 kB / 289 MB, free: 492 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01547, allocations: 4.125 kB / 289 MB, free: 488 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.01566, allocations: 249.4 kB / 289.3 MB, free: 216 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.01591, allocations: 52.39 kB / 289.3 MB, free: 164 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.01709, allocations: 495 kB / 289.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.584e-05/0.01715, allocations: 80.33 kB / 289.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.175e-05/0.01724, allocations: 26.28 kB / 289.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.01729, allocations: 24.44 kB / 289.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of SimCode: time 1.292e-06/0.01729, allocations: 3.938 kB / 289.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of Templates: time 0.006374/0.02367, allocations: 4.121 MB / 294 MB, free: 11.42 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.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.9702081698924303]