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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008784/0.0008786, allocations: 96.16 kB / 16.95 MB, free: 5.66 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.0008293/0.0008293, allocations: 186.1 kB / 17.85 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 223.2 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003449, allocations: 8 kB / 301.5 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1707, allocations: 50.43 MB / 351.9 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00345/0.1742, allocations: 2.348 MB / 354.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1756, allocations: 0.6354 MB / 354.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.1758, allocations: 7.938 kB / 354.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1759, allocations: 27.77 kB / 354.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1761, allocations: 79.38 kB / 355 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1765, allocations: 67.91 kB / 355.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.1769, allocations: 318.6 kB / 355.4 MB, free: 276 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.177, allocations: 61.16 kB / 355.4 MB, free: 212 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.1772, allocations: 119.4 kB / 355.5 MB, free: 92 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1774, allocations: 123.4 kB / 355.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.1775, allocations: 16 kB / 355.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.1775, allocations: 16 kB / 355.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.1776, allocations: 51.77 kB / 355.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.1777, allocations: 69.58 kB / 355.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1779, allocations: 239.6 kB / 356 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.178, allocations: 0 / 356 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.178, allocations: 0 / 356 MB, free: 15.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.178, allocations: 4 kB / 356 MB, free: 15.57 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.001196/0.1792, allocations: 0.6105 MB / 356.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1792, allocations: 12.03 kB / 356.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.1793, allocations: 27.72 kB / 356.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.1797, allocations: 270.5 kB / 357 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.1797, allocations: 12.44 kB / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.1797, allocations: 24 kB / 357 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006973/0.1805, allocations: 289.8 kB / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1805, allocations: 3.953 kB / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.1805, allocations: 4 kB / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1805, allocations: 8 kB / 357.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007354/0.1813, allocations: 269.5 kB / 357.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.1829, allocations: 0.9754 MB / 358.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008018/0.1838, allocations: 282.5 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.1841, allocations: 116.8 kB / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1841, allocations: 4 kB / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.1846, allocations: 187.7 kB / 359.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.1846, allocations: 4 kB / 359.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002241/0.1869, allocations: 0.7332 MB / 359.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.187, allocations: 110.8 kB / 360 MB, free: 11.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.1873, allocations: 262.6 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.1873, allocations: 29.64 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.1875, allocations: 179.9 kB / 360.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.1876, allocations: 35.45 kB / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.1876, allocations: 8 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1878, allocations: 334.8 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.1881, allocations: 111.9 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.1885, allocations: 188.4 kB / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.1888, allocations: 145.5 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.1888, allocations: 4 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00114/0.19, allocations: 474.2 kB / 361.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.1901, allocations: 33.7 kB / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1901, allocations: 0 / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003872/0.1905, allocations: 88.86 kB / 361.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.1907, allocations: 43.91 kB / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.1932, allocations: 1.795 MB / 363.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.1935, allocations: 59.73 kB / 363.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.1936, allocations: 8 kB / 363.7 MB, free: 7.418 MB / 302.1 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.0001918/0.1938, allocations: 141.8 kB / 363.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.1938, allocations: 19.72 kB / 363.9 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.1939, allocations: 33.78 kB / 363.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1939, allocations: 0 / 363.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1939, allocations: 224 / 363.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1939, allocations: 4 kB / 363.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.1942, allocations: 297.3 kB / 364.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1942, allocations: 0 / 364.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.1943, allocations: 27.98 kB / 364.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/0.1946, allocations: 80.8 kB / 364.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1946, allocations: 3.984 kB / 364.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.1967, allocations: 1.675 MB / 366 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1967, allocations: 4.031 kB / 366 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1978, allocations: 400.8 kB / 366.4 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.1978, allocations: 88.92 kB / 366.5 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.1979, allocations: 11.98 kB / 366.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.1981, allocations: 39.97 kB / 366.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.1982, allocations: 19.97 kB / 366.5 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1982, allocations: 4 kB / 366.5 MB, free: 4.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.1984, allocations: 190 kB / 366.7 MB, free: 4.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1985, allocations: 0 / 366.7 MB, free: 4.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.1988, allocations: 71.84 kB / 366.8 MB, free: 4.105 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.000226/0.1991, allocations: 111.2 kB / 366.9 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.2002, allocations: 437.9 kB / 367.3 MB, free: 3.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2002, allocations: 0 / 367.3 MB, free: 3.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004728/0.2007, allocations: 246.8 kB / 367.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.2012, allocations: 44.48 kB / 367.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.2024, allocations: 0.549 MB / 368.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.2028, allocations: 0.7482 MB / 368.9 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.2029, allocations: 23.44 kB / 368.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2029, allocations: 0 / 368.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of Templates: time 0.2448/0.4477, allocations: 4.115 MB / 373.1 MB, free: 23.52 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.o] Error 1