Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001432, allocations: 175.6 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000738/0.0007379, allocations: 90.83 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.734e-05, allocations: 4 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.08916, allocations: 50.43 MB / 387.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2985/0.3878, allocations: 80.03 MB / 467.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.388, allocations: 79.95 kB / 467.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01715/0.4052, allocations: 5.786 MB / 473.4 MB, free: 8.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4052, allocations: 1.125 kB / 473.4 MB, free: 8.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.4052, allocations: 8 kB / 473.4 MB, free: 8.887 MB / 346.7 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.001422/0.4067, allocations: 0.5525 MB / 473.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4067, allocations: 12.02 kB / 473.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.853e-05/0.4068, allocations: 27.72 kB / 474 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.4074, allocations: 282.8 kB / 474.2 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.4074, allocations: 8 kB / 474.3 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.4075, allocations: 12 kB / 474.3 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004875/0.408, allocations: 136.9 kB / 474.4 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.4086, allocations: 201.3 kB / 474.6 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.4086, allocations: 0 / 474.6 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.4087, allocations: 3.938 kB / 474.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.4087, allocations: 7.938 kB / 474.6 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.4115, allocations: 0.9819 MB / 475.6 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.412, allocations: 130.7 kB / 475.7 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.4122, allocations: 52.86 kB / 475.8 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.4122, allocations: 4 kB / 475.8 MB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/0.4126, allocations: 133.9 kB / 475.9 MB, free: 6.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.576e-06/0.4126, allocations: 0 / 475.9 MB, free: 6.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009662/0.4136, allocations: 226.1 kB / 476.1 MB, free: 5.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.4137, allocations: 102.8 kB / 476.2 MB, free: 5.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.4141, allocations: 212.5 kB / 476.4 MB, free: 5.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.4141, allocations: 29.7 kB / 476.5 MB, free: 5.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4143, allocations: 171.8 kB / 476.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.4144, allocations: 47.39 kB / 476.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.4144, allocations: 0 / 476.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.4146, allocations: 334.8 kB / 477 MB, free: 5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.4148, allocations: 48 kB / 477.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.415, allocations: 112.6 kB / 477.2 MB, free: 4.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.4152, allocations: 61.42 kB / 477.2 MB, free: 4.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4152, allocations: 0 / 477.2 MB, free: 4.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00106/0.4163, allocations: 282.1 kB / 477.5 MB, free: 4.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.4164, allocations: 35.11 kB / 477.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4164, allocations: 0 / 477.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/0.4167, allocations: 52.86 kB / 477.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.417, allocations: 39.97 kB / 477.6 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.4193, allocations: 1.448 MB / 479.1 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.4198, allocations: 47.81 kB / 479.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.4199, allocations: 8.219 kB / 479.1 MB, free: 2.715 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.4201, allocations: 125.5 kB / 479.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.4202, allocations: 23.66 kB / 479.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/0.4203, allocations: 25.95 kB / 479.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4203, allocations: 0 / 479.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4203, allocations: 0 / 479.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4203, allocations: 0 / 479.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.4207, allocations: 258 kB / 479.5 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4207, allocations: 0 / 479.5 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.421, allocations: 31.97 kB / 479.6 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.4212, allocations: 40.84 kB / 479.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.4212, allocations: 4 kB / 479.6 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.4233, allocations: 1.445 MB / 481.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4233, allocations: 3.938 kB / 481.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.4241, allocations: 251.4 kB / 481.3 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/0.4242, allocations: 96.83 kB / 481.4 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.4243, allocations: 4 kB / 481.4 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.4248, allocations: 39.95 kB / 481.5 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.4249, allocations: 19.97 kB / 481.5 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.4249, allocations: 4 kB / 481.5 MB, free: 172 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002621/0.4252, allocations: 168.7 kB / 481.6 MB, free: 16 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.4252, allocations: 0 / 481.6 MB, free: 16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.4258, allocations: 71.8 kB / 481.7 MB, free: 15.93 MB / 362.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001844/0.426, allocations: 109.1 kB / 481.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006636/0.4266, allocations: 312.9 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.4267, allocations: 4 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.427, allocations: 169.7 kB / 482.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.4274, allocations: 34.92 kB / 482.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.4282, allocations: 257.2 kB / 482.6 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.4286, allocations: 0.756 MB / 483.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00017/0.4288, allocations: 18.08 kB / 483.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.4289, allocations: 19.44 kB / 483.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.4289, allocations: 0 / 483.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Templates: time 0.01025/0.4392, allocations: 3.049 MB / 486.4 MB, free: 11.16 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches