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.00203/0.00203, allocations: 176.2 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.3 MB / 241.4 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001055, allocations: 101 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005073/0.0005073, allocations: 11.94 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.294, allocations: 50.4 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3986, allocations: 80.81 MB / 483.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.3989, allocations: 83.89 kB / 483.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01779/0.4167, allocations: 5.845 MB / 489.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4168, allocations: 0 / 489.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.795e-05/0.4168, allocations: 4 kB / 489.5 MB, free: 9.539 MB / 362.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.00121/0.418, allocations: 0.5951 MB / 490.1 MB, free: 8.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4181, allocations: 12.03 kB / 490.1 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.4183, allocations: 32.56 kB / 490.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.4187, allocations: 284.1 kB / 490.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.4187, allocations: 24.73 kB / 490.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.4188, allocations: 24.38 kB / 490.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.4194, allocations: 290.2 kB / 490.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4195, allocations: 192 / 490.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.4195, allocations: 15.94 kB / 490.8 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4195, allocations: 4 kB / 490.8 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.4203, allocations: 273.6 kB / 491 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.4222, allocations: 1.017 MB / 492.1 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.423, allocations: 274.5 kB / 492.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.4233, allocations: 120.8 kB / 492.4 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.4234, allocations: 0 / 492.4 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004998/0.4239, allocations: 197.8 kB / 492.6 MB, free: 6.188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.4239, allocations: 0 / 492.6 MB, free: 6.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002223/0.4261, allocations: 0.7253 MB / 493.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4262, allocations: 102.8 kB / 493.5 MB, free: 5.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.4265, allocations: 266.5 kB / 493.7 MB, free: 5.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.4266, allocations: 33.7 kB / 493.8 MB, free: 5.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.4267, allocations: 175.9 kB / 493.9 MB, free: 4.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.4268, allocations: 39.36 kB / 494 MB, free: 4.793 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.4268, allocations: 8 kB / 494 MB, free: 4.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4269, allocations: 334.8 kB / 494.3 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.4273, allocations: 111.9 kB / 494.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.4276, allocations: 182.9 kB / 494.6 MB, free: 4.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/0.4283, allocations: 299 kB / 494.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4283, allocations: 3.938 kB / 494.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001201/0.4295, allocations: 467.7 kB / 495.3 MB, free: 3.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.4296, allocations: 33.64 kB / 495.4 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4296, allocations: 4 kB / 495.4 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/0.43, allocations: 88.77 kB / 495.5 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.4302, allocations: 39.97 kB / 495.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.4327, allocations: 1.795 MB / 497.3 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.4331, allocations: 67.7 kB / 497.4 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.4331, allocations: 8 kB / 497.4 MB, free: 1.16 MB / 362.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (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.0001837/0.4333, allocations: 141.8 kB / 497.5 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.4334, allocations: 23.72 kB / 497.5 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.4334, allocations: 21.83 kB / 497.6 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4334, allocations: 4 kB / 497.6 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.4334, allocations: 4 kB / 497.6 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4335, allocations: 3.938 kB / 497.6 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.4338, allocations: 293.4 kB / 497.9 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4338, allocations: 0 / 497.9 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.434, allocations: 27.98 kB / 497.9 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/0.4343, allocations: 84.73 kB / 498 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.4343, allocations: 3.938 kB / 498 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.4364, allocations: 1.68 MB / 499.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4364, allocations: 0 / 499.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4375, allocations: 398.1 kB / 0.4883 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.4376, allocations: 100.8 kB / 0.4884 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.4376, allocations: 7.938 kB / 0.4884 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.4379, allocations: 43.95 kB / 0.4885 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.438, allocations: 19.97 kB / 0.4885 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.438, allocations: 4 kB / 0.4885 GB, free: 14.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002521/0.4383, allocations: 194 kB / 0.4887 GB, free: 13.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4383, allocations: 0 / 0.4887 GB, free: 13.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003894/0.4387, allocations: 63.91 kB / 0.4887 GB, free: 13.84 MB / 378.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) * 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 (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.0001877/0.4389, allocations: 115.1 kB / 0.4888 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009928/0.4399, allocations: 442.7 kB / 0.4893 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4399, allocations: 0 / 0.4893 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.4404, allocations: 246.9 kB / 0.4895 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.4408, allocations: 48.52 kB / 0.4895 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.4419, allocations: 0.5165 MB / 0.49 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4423, allocations: 0.7482 MB / 0.4908 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.4424, allocations: 26.28 kB / 0.4908 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.4425, allocations: 19.44 kB / 0.4908 GB, free: 11.6 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4425, allocations: 0 / 0.4908 GB, free: 11.6 MB / 378.7 MB Notification: Performance of Templates: time 0.008253/0.4507, allocations: 3.429 MB / 0.4942 GB, free: 8.203 MB / 378.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/jenkins1/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