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.000986/0.0009863, allocations: 96.33 kB / 16.95 MB, free: 6.062 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.001154/0.001154, allocations: 175.2 kB / 17.84 MB, free: 5.699 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.85/1.85, allocations: 205.4 MB / 224 MB, free: 13.02 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.0005416/0.0005417, allocations: 8 kB / 280.8 MB, free: 3.695 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1289, allocations: 47.59 MB / 328.4 MB, free: 4.031 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003379/0.1323, allocations: 2.298 MB / 330.7 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1338, allocations: 0.683 MB / 331.4 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.1341, allocations: 4 kB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1343, allocations: 39.7 kB / 331.4 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.1346, allocations: 71.44 kB / 331.5 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.135, allocations: 75.84 kB / 331.5 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.1356, allocations: 318.6 kB / 331.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.1358, allocations: 69.08 kB / 331.9 MB, free: 472 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.1361, allocations: 107.6 kB / 332 MB, free: 364 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.1364, allocations: 135.3 kB / 332.2 MB, free: 228 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.326e-05/0.1365, allocations: 20 kB / 332.2 MB, free: 208 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.071e-05/0.1366, allocations: 16 kB / 332.2 MB, free: 192 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.1367, allocations: 47.75 kB / 332.2 MB, free: 144 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1368, allocations: 69.58 kB / 332.3 MB, free: 68 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.1372, allocations: 239.6 kB / 332.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.1372, allocations: 4 kB / 332.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1372, allocations: 0 / 332.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.1373, allocations: 0 / 332.5 MB, free: 15.83 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.001453/0.1387, allocations: 0.6067 MB / 333.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1388, allocations: 12.03 kB / 333.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.1389, allocations: 31.61 kB / 333.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.1394, allocations: 274.4 kB / 333.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.1394, allocations: 16.44 kB / 333.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.1395, allocations: 19.94 kB / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.1402, allocations: 263.2 kB / 333.8 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1402, allocations: 0 / 333.8 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.1402, allocations: 4 kB / 333.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1403, allocations: 8 kB / 333.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.141, allocations: 273.6 kB / 334 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1427, allocations: 0.8973 MB / 334.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.1435, allocations: 278.5 kB / 335.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.1438, allocations: 124.7 kB / 335.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1439, allocations: 0 / 335.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005125/0.1444, allocations: 197.9 kB / 335.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1444, allocations: 7.938 kB / 335.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002343/0.1467, allocations: 0.7449 MB / 336.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.1468, allocations: 106.8 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.1472, allocations: 266.5 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.1473, allocations: 33.7 kB / 336.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.1475, allocations: 172 kB / 336.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.1475, allocations: 39.45 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.1475, allocations: 4 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1477, allocations: 334.8 kB / 337.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.1481, allocations: 108.1 kB / 337.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.1484, allocations: 176 kB / 337.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.1488, allocations: 145.5 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1488, allocations: 4 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001138/0.15, allocations: 483.5 kB / 338.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.1501, allocations: 163.1 kB / 338.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1501, allocations: 4.031 kB / 338.3 MB, free: 9.738 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.1505, allocations: 80.8 kB / 338.3 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.1507, allocations: 51.91 kB / 338.4 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.1534, allocations: 1.795 MB / 340.2 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.1538, allocations: 71.69 kB / 340.3 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.1538, allocations: 8 kB / 340.3 MB, free: 7.59 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1538, allocations: 4 kB / 340.3 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006824/0.1545, allocations: 298.2 kB / 340.6 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1545, allocations: 8.188 kB / 340.6 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.692e-05/0.1546, allocations: 24.84 kB / 340.6 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.1548, allocations: 39.97 kB / 340.6 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.1561, allocations: 1.44 MB / 342.1 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.1564, allocations: 47.94 kB / 342.1 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1564, allocations: 15.94 kB / 342.1 MB, free: 5.574 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 ($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 (18): * Single equations (assignments): 16 * 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.0002258/0.1566, allocations: 209.1 kB / 342.3 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.1567, allocations: 23.72 kB / 342.4 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.1568, allocations: 21.83 kB / 342.4 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1569, allocations: 3.953 kB / 342.4 MB, free: 5.316 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1569, allocations: 4 kB / 342.4 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1569, allocations: 0 / 342.4 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.1572, allocations: 301.4 kB / 342.7 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1573, allocations: 0 / 342.7 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.1574, allocations: 27.92 kB / 342.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002649/0.1577, allocations: 84.8 kB / 342.8 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1577, allocations: 0 / 342.8 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.1598, allocations: 1.675 MB / 344.5 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1598, allocations: 0 / 344.5 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1609, allocations: 393.5 kB / 344.9 MB, free: 2.641 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.161, allocations: 100.8 kB / 345 MB, free: 2.523 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.1611, allocations: 8 kB / 345 MB, free: 2.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.1613, allocations: 39.95 kB / 345 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.1614, allocations: 24 kB / 345 MB, free: 2.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1614, allocations: 8 kB / 345 MB, free: 2.445 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.1617, allocations: 190 kB / 345.2 MB, free: 2.258 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1617, allocations: 4 kB / 345.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000651/0.1623, allocations: 119.7 kB / 345.3 MB, free: 2.137 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 (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.0001872/0.1625, allocations: 103.2 kB / 345.4 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.1643, allocations: 0.7266 MB / 346.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.1644, allocations: 0 / 346.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.1649, allocations: 250.9 kB / 346.4 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.1654, allocations: 49.34 kB / 346.5 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1666, allocations: 0.529 MB / 347 MB, free: 404 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.167, allocations: 0.7482 MB / 347.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.1672, allocations: 26.3 kB / 347.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.1673, allocations: 19.38 kB / 347.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of SimCode: time 1.492e-06/0.1673, allocations: 0 / 347.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of Templates: time 0.008472/0.1758, allocations: 3.693 MB / 351.5 MB, free: 11.89 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