Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,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.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,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.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009457/0.0009457, allocations: 175.7 kB / 8.349 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.371/1.371, allocations: 221.5 MB / 230.3 MB, free: 7.555 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.0007986/0.0007986, allocations: 98.03 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.94e-05, allocations: 8 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.09653, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.4041, allocations: 80.04 MB / 467.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.4044, allocations: 77.52 kB / 467.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01573/0.4201, allocations: 5.787 MB / 473.4 MB, free: 8.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4201, allocations: 0 / 473.4 MB, free: 8.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.4202, allocations: 8 kB / 473.4 MB, free: 8.93 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.0008679/0.421, allocations: 0.5572 MB / 473.9 MB, free: 8.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.4211, allocations: 11.97 kB / 474 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.4212, allocations: 31.72 kB / 474 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.4215, allocations: 274.9 kB / 474.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.4215, allocations: 11.94 kB / 474.3 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.4216, allocations: 12 kB / 474.3 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002731/0.4218, allocations: 140.9 kB / 474.4 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.4222, allocations: 201.3 kB / 474.6 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4222, allocations: 3.938 kB / 474.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.4222, allocations: 0 / 474.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4222, allocations: 4 kB / 474.6 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.4238, allocations: 0.9819 MB / 475.6 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.4241, allocations: 126.8 kB / 475.7 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.199e-05/0.4242, allocations: 64.83 kB / 475.8 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.4242, allocations: 0 / 475.8 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.4245, allocations: 133.9 kB / 475.9 MB, free: 6.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.4245, allocations: 0 / 475.9 MB, free: 6.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005975/0.4251, allocations: 222.1 kB / 476.1 MB, free: 5.965 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.4251, allocations: 106.8 kB / 476.2 MB, free: 5.836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.4254, allocations: 220.5 kB / 476.5 MB, free: 5.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.4254, allocations: 25.7 kB / 476.5 MB, free: 5.586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.4255, allocations: 183.7 kB / 476.7 MB, free: 5.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.4255, allocations: 35.45 kB / 476.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.4256, allocations: 0 / 476.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4257, allocations: 338.8 kB / 477 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.4258, allocations: 48 kB / 477.1 MB, free: 4.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.4259, allocations: 134.2 kB / 477.2 MB, free: 4.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.426, allocations: 61.05 kB / 477.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4261, allocations: 0 / 477.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006584/0.4267, allocations: 297.9 kB / 477.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.4268, allocations: 39.3 kB / 477.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4268, allocations: 0 / 477.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.427, allocations: 48.83 kB / 477.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.4272, allocations: 47.91 kB / 477.7 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.4287, allocations: 1.542 MB / 479.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.429, allocations: 60.05 kB / 479.3 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.429, allocations: 8 kB / 479.3 MB, free: 2.582 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: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001382/0.4292, allocations: 118.9 kB / 479.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.4292, allocations: 19.72 kB / 479.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.4293, allocations: 25.95 kB / 479.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4293, allocations: 0 / 479.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.4293, allocations: 128 / 479.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.4293, allocations: 11.95 kB / 479.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.4295, allocations: 254 kB / 479.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4296, allocations: 3.938 kB / 479.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.4297, allocations: 27.97 kB / 479.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.4298, allocations: 48.83 kB / 479.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4299, allocations: 4 kB / 479.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.4312, allocations: 1.529 MB / 481.3 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4313, allocations: 3.953 kB / 481.3 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.4318, allocations: 255.2 kB / 481.6 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.4319, allocations: 104.8 kB / 481.7 MB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.4319, allocations: 0 / 481.7 MB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.4322, allocations: 39.95 kB / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.4323, allocations: 20.09 kB / 481.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.4323, allocations: 16 kB / 481.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.4324, allocations: 168.5 kB / 481.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4324, allocations: 0 / 481.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003731/0.4328, allocations: 71.75 kB / 482 MB, free: 15.69 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.000134/0.433, allocations: 103.2 kB / 482.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.4334, allocations: 297.6 kB / 482.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4334, allocations: 12 kB / 482.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.4337, allocations: 181.7 kB / 482.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.4339, allocations: 28.55 kB / 482.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.4366, allocations: 0.7753 MB / 483.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4369, allocations: 0.7599 MB / 484.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.437, allocations: 22.08 kB / 484.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.4371, allocations: 15.44 kB / 484.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4371, allocations: 0 / 484.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Templates: time 0.00581/0.4429, allocations: 3.029 MB / 487.2 MB, free: 10.42 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches