Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001353, allocations: 98.09 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.001309, allocations: 204.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 8 kB / 306.6 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 51.49 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002957/0.1305, allocations: 2.264 MB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1317, allocations: 0.6861 MB / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.1318, allocations: 8 kB / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.534e-05/0.1319, allocations: 31.75 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1321, allocations: 103.7 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1324, allocations: 71.84 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.1327, allocations: 227.5 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.1329, allocations: 65.14 kB / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.133, allocations: 111.6 kB / 361.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1332, allocations: 135.4 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1332, allocations: 16 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.756e-05/0.1333, allocations: 12 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.1333, allocations: 47.81 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.1334, allocations: 69.58 kB / 361.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.1336, allocations: 239.6 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1336, allocations: 0 / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1336, allocations: 0 / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1337, allocations: 0 / 362.1 MB, free: 10.04 MB / 302.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.00108/0.1347, allocations: 0.6105 MB / 362.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1348, allocations: 11.97 kB / 362.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.1349, allocations: 27.72 kB / 362.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1352, allocations: 270.5 kB / 363 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.1352, allocations: 24.38 kB / 363.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1352, allocations: 20 kB / 363.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.1358, allocations: 285.8 kB / 363.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1359, allocations: 0 / 363.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.1359, allocations: 12 kB / 363.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.1359, allocations: 4 kB / 363.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007359/0.1366, allocations: 273.5 kB / 363.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.1382, allocations: 0.9754 MB / 364.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008332/0.139, allocations: 274.5 kB / 364.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.139, allocations: 0 / 364.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/0.1395, allocations: 193.8 kB / 365.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.1395, allocations: 4 kB / 365.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002356/0.1419, allocations: 0.7289 MB / 365.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.142, allocations: 106.8 kB / 365.9 MB, free: 5.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.1422, allocations: 266.6 kB / 366.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1423, allocations: 33.7 kB / 366.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1424, allocations: 187.7 kB / 366.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1424, allocations: 39.39 kB / 366.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.1425, allocations: 4 kB / 366.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1426, allocations: 338.8 kB / 366.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.1429, allocations: 115.9 kB / 366.9 MB, free: 5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.1433, allocations: 195.3 kB / 367.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.1437, allocations: 148.2 kB / 367.2 MB, free: 4.625 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1437, allocations: 3.938 kB / 367.2 MB, free: 4.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001193/0.1449, allocations: 479.7 kB / 367.7 MB, free: 4.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.145, allocations: 37.69 kB / 367.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.145, allocations: 7.953 kB / 367.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003691/0.1454, allocations: 84.8 kB / 367.8 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.1456, allocations: 51.97 kB / 367.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.1483, allocations: 1.889 MB / 369.8 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.1487, allocations: 55.8 kB / 369.8 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.1487, allocations: 8.219 kB / 369.8 MB, free: 1.852 MB / 302.1 MB 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 () * Number of clocked 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.0001481/0.1489, allocations: 145.8 kB / 370 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.1489, allocations: 27.66 kB / 370 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.149, allocations: 25.83 kB / 370 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.149, allocations: 3.938 kB / 370 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.149, allocations: 0 / 370 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.149, allocations: 3.984 kB / 370 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.1493, allocations: 301.3 kB / 370.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1493, allocations: 3.953 kB / 370.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1495, allocations: 31.97 kB / 370.4 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002794/0.1498, allocations: 84.92 kB / 370.4 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1498, allocations: 4 kB / 370.4 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1947/0.3445, allocations: 1.773 MB / 372.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3445, allocations: 0 / 372.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.3458, allocations: 395.5 kB / 372.6 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.3459, allocations: 106.8 kB / 372.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.346, allocations: 5.891 kB / 372.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.3462, allocations: 38.58 kB / 372.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.3463, allocations: 26.14 kB / 372.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3464, allocations: 6.344 kB / 372.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.3466, allocations: 191.7 kB / 373 MB, free: 18.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3466, allocations: 3.75 kB / 373 MB, free: 18.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004599/0.347, allocations: 70.42 kB / 373 MB, free: 18.6 MB / 302.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 (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.0001587/0.3472, allocations: 101.7 kB / 373.1 MB, free: 18.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.3486, allocations: 0.5127 MB / 373.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3486, allocations: 3.938 kB / 373.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.3492, allocations: 245.5 kB / 373.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3495, allocations: 41.95 kB / 373.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.3528, allocations: 1.041 MB / 375 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3531, allocations: 0.7564 MB / 375.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.3532, allocations: 21.22 kB / 375.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.3533, allocations: 23.5 kB / 375.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3533, allocations: 0 / 375.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of Templates: time 0.009791/0.3631, allocations: 3.312 MB / 379.1 MB, free: 17.05 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches