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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 110.6 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3333, allocations: 50.54 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00481/0.3382, allocations: 2.781 MB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3398, allocations: 0.7011 MB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.3401, allocations: 4 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.3403, allocations: 39.58 kB / 413.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.3407, allocations: 91.19 kB / 413.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.341, allocations: 99.81 kB / 413.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.3417, allocations: 358.5 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.342, allocations: 84.69 kB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.3422, allocations: 135.5 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.3426, allocations: 151.3 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.3427, allocations: 28 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.3428, allocations: 28 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.3429, allocations: 63.77 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.343, allocations: 155.2 kB / 414.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.3434, allocations: 320 kB / 415 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3435, allocations: 7.938 kB / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3435, allocations: 0 / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3435, allocations: 0 / 415 MB, free: 12.56 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00145/0.345, allocations: 0.634 MB / 415.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.345, allocations: 8.031 kB / 415.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.797e-05/0.3451, allocations: 32.56 kB / 415.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.3455, allocations: 275.7 kB / 415.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3456, allocations: 16.81 kB / 415.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.3456, allocations: 20.38 kB / 416 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.3464, allocations: 282 kB / 416.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3464, allocations: 0 / 416.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.3465, allocations: 8 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3465, allocations: 8 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008989/0.3474, allocations: 245.6 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.3491, allocations: 0.948 MB / 417.4 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009118/0.35, allocations: 238.5 kB / 417.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.3504, allocations: 100.8 kB / 417.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3504, allocations: 0 / 417.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/0.3509, allocations: 193.5 kB / 417.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.351, allocations: 3.938 kB / 418 MB, free: 9.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002818/0.3538, allocations: 0.6473 MB / 418.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.3539, allocations: 110.8 kB / 418.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.3541, allocations: 258.6 kB / 419 MB, free: 8.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3542, allocations: 37.7 kB / 419 MB, free: 8.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3543, allocations: 175.8 kB / 419.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.3544, allocations: 39.45 kB / 419.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.3545, allocations: 45.61 kB / 419.3 MB, free: 8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3546, allocations: 338.8 kB / 419.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.355, allocations: 99.92 kB / 419.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.3555, allocations: 160.5 kB / 419.8 MB, free: 7.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008444/0.3564, allocations: 278.5 kB / 420.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3564, allocations: 0 / 420.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001451/0.3579, allocations: 427.6 kB / 420.5 MB, free: 6.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.3579, allocations: 44.66 kB / 420.6 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3579, allocations: 0 / 420.6 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/0.3583, allocations: 80.8 kB / 420.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.3586, allocations: 39.97 kB / 420.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.3615, allocations: 1.951 MB / 422.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.3619, allocations: 51.67 kB / 422.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3619, allocations: 12 kB / 422.7 MB, free: 4.316 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.362, allocations: 137.7 kB / 422.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.3621, allocations: 23.72 kB / 422.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/0.3622, allocations: 37.83 kB / 422.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3622, allocations: 0 / 422.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3622, allocations: 0 / 422.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3623, allocations: 0 / 422.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.3626, allocations: 297.5 kB / 423.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3626, allocations: 0 / 423.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3628, allocations: 23.98 kB / 423.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.3631, allocations: 76.73 kB / 423.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.3631, allocations: 12.06 kB / 423.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.3653, allocations: 1.75 MB / 425 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3654, allocations: 8.016 kB / 425.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3664, allocations: 353.5 kB / 425.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.3665, allocations: 108.8 kB / 425.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.3665, allocations: 11.81 kB / 425.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.3668, allocations: 39.95 kB / 425.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.3668, allocations: 15.98 kB / 425.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3669, allocations: 4 kB / 425.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.367, allocations: 190 kB / 425.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.367, allocations: 0 / 425.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.3674, allocations: 75.84 kB / 425.8 MB, free: 0.9375 MB / 334.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: 3 ($whenCondition1,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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001409/0.3675, allocations: 99.25 kB / 425.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009816/0.3685, allocations: 416.4 kB / 426.3 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3685, allocations: 0 / 426.3 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.369, allocations: 230.5 kB / 426.6 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.3693, allocations: 51.3 kB / 426.6 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3704, allocations: 489 kB / 427.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3706, allocations: 0.7401 MB / 427.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.3707, allocations: 19.44 kB / 427.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3707, allocations: 7.938 kB / 427.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of Templates: time 0.00614/0.3769, allocations: 4.195 MB / 432.1 MB, free: 10.62 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches