Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001219, allocations: 105.3 kB / 17.15 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 198 kB / 18.07 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 47.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.13, allocations: 46.64 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00462/0.1347, allocations: 2.764 MB / 329.4 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1361, allocations: 0.7138 MB / 330.1 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.1363, allocations: 4 kB / 330.1 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1365, allocations: 31.77 kB / 330.1 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1367, allocations: 79.38 kB / 330.2 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.137, allocations: 83.91 kB / 330.3 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.1373, allocations: 334.6 kB / 330.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.1376, allocations: 69.14 kB / 330.7 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1378, allocations: 119.4 kB / 330.8 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.138, allocations: 147.3 kB / 330.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.138, allocations: 19.94 kB / 331 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.1381, allocations: 20 kB / 331 MB, free: 500 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.1381, allocations: 43.83 kB / 331 MB, free: 456 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1383, allocations: 143.2 kB / 331.2 MB, free: 312 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.1387, allocations: 315.2 kB / 331.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1387, allocations: 0 / 331.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1388, allocations: 0 / 331.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1388, allocations: 0 / 331.5 MB, free: 15.99 MB / 286.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.001368/0.1401, allocations: 0.6418 MB / 332.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1402, allocations: 8.031 kB / 332.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.1403, allocations: 32.56 kB / 332.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.1406, allocations: 279.6 kB / 332.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1407, allocations: 16.81 kB / 332.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.1407, allocations: 16.38 kB / 332.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/0.1413, allocations: 255.5 kB / 332.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1413, allocations: 0 / 332.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.1414, allocations: 8 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.1414, allocations: 4 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.1421, allocations: 249.5 kB / 333 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.1437, allocations: 0.8816 MB / 333.8 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.1445, allocations: 238.6 kB / 334.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.1449, allocations: 108.8 kB / 334.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1449, allocations: 0 / 334.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.1454, allocations: 181.7 kB / 334.4 MB, free: 12.9 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.1454, allocations: 0 / 334.4 MB, free: 12.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002321/0.1477, allocations: 0.6707 MB / 335 MB, free: 12.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.1478, allocations: 110.8 kB / 335.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.1481, allocations: 262.6 kB / 335.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1482, allocations: 29.7 kB / 335.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1483, allocations: 171.9 kB / 335.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.1483, allocations: 43.44 kB / 335.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.1484, allocations: 49.64 kB / 335.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1486, allocations: 330.8 kB / 336 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.149, allocations: 100.8 kB / 336.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.1493, allocations: 167.6 kB / 336.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.1501, allocations: 263 kB / 336.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1501, allocations: 0 / 336.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001243/0.1513, allocations: 443.5 kB / 337 MB, free: 10.14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.1514, allocations: 33.7 kB / 337 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1514, allocations: 0 / 337 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.1518, allocations: 84.73 kB / 337.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.152, allocations: 43.92 kB / 337.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.1546, allocations: 1.76 MB / 338.9 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.1549, allocations: 51.77 kB / 338.9 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.1549, allocations: 12 kB / 338.9 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003411/0.1553, allocations: 176.1 kB / 339.1 MB, free: 7.832 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002899/0.1556, allocations: 139.7 kB / 339.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004966/0.1561, allocations: 234.6 kB / 339.5 MB, free: 7.414 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.1561, allocations: 0 / 339.5 MB, free: 7.414 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007082/0.1568, allocations: 315.8 kB / 339.8 MB, free: 7.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.1569, allocations: 37.7 kB / 339.8 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.1569, allocations: 0 / 339.8 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.157, allocations: 36.83 kB / 339.9 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1572, allocations: 39.91 kB / 339.9 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.1583, allocations: 1.436 MB / 341.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.1587, allocations: 43.8 kB / 341.4 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1587, allocations: 16.06 kB / 341.4 MB, free: 5.344 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001934/0.1589, allocations: 184.3 kB / 341.6 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.1589, allocations: 27.66 kB / 341.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.159, allocations: 25.83 kB / 341.6 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.159, allocations: 4 kB / 341.6 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.159, allocations: 0 / 341.6 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.159, allocations: 0 / 341.6 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1594, allocations: 297.4 kB / 341.9 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1594, allocations: 0 / 341.9 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.1596, allocations: 27.91 kB / 341.9 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/0.1599, allocations: 80.8 kB / 342 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1599, allocations: 0 / 342 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.162, allocations: 1.636 MB / 343.7 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.162, allocations: 0 / 343.7 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.163, allocations: 362 kB / 344 MB, free: 2.508 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.1631, allocations: 100.8 kB / 344.1 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.1632, allocations: 11.94 kB / 344.1 MB, free: 2.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.1634, allocations: 39.89 kB / 344.2 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.1635, allocations: 19.97 kB / 344.2 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1635, allocations: 4 kB / 344.2 MB, free: 2.316 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.1637, allocations: 190 kB / 344.4 MB, free: 2.129 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1637, allocations: 0 / 344.4 MB, free: 2.129 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006062/0.1643, allocations: 123.7 kB / 344.5 MB, free: 2.008 MB / 286.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.0001703/0.1645, allocations: 111.2 kB / 344.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.166, allocations: 0.6716 MB / 345.3 MB, free: 1.168 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.166, allocations: 4 kB / 345.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.1665, allocations: 235.2 kB / 345.5 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.1669, allocations: 36.55 kB / 345.5 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1681, allocations: 0.5339 MB / 346.1 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.1685, allocations: 0.7483 MB / 346.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.1687, allocations: 26.28 kB / 346.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.1687, allocations: 19.44 kB / 346.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1687, allocations: 0 / 346.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of Templates: time 0.009784/0.1785, allocations: 3.858 MB / 350.7 MB, free: 11.66 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches