Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 92.31 kB / 16.95 MB, free: 5.953 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.001269/0.001269, allocations: 177.1 kB / 17.84 MB, free: 5.617 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.587/1.587, allocations: 223.2 MB / 241.9 MB, free: 268 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002981, allocations: 8 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003121/0.1221, allocations: 2.617 MB / 354.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1237, allocations: 0.7368 MB / 355.2 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.124, allocations: 4 kB / 355.2 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1242, allocations: 39.62 kB / 355.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1245, allocations: 99.23 kB / 355.4 MB, free: 500 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1249, allocations: 79.89 kB / 355.5 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.1255, allocations: 414.3 kB / 355.9 MB, free: 4 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.1258, allocations: 102.6 kB / 356 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.1261, allocations: 139.4 kB / 356.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1264, allocations: 159.3 kB / 356.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.1264, allocations: 16 kB / 356.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.945e-05/0.1265, allocations: 24 kB / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.1266, allocations: 63.69 kB / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.1267, allocations: 89.52 kB / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.127, allocations: 387.1 kB / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1271, allocations: 0 / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1271, allocations: 0 / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1271, allocations: 4 kB / 356.8 MB, free: 15.03 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001271/0.1284, allocations: 0.6757 MB / 357.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1284, allocations: 8.031 kB / 357.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.1285, allocations: 35.62 kB / 357.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.129, allocations: 305.5 kB / 357.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.129, allocations: 20.56 kB / 357.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.1291, allocations: 24 kB / 357.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.1298, allocations: 363.6 kB / 358.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1299, allocations: 0 / 358.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.1299, allocations: 23.95 kB / 358.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1299, allocations: 4 kB / 358.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/0.1307, allocations: 334 kB / 358.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.1328, allocations: 1.307 MB / 359.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/0.1336, allocations: 363.5 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.134, allocations: 161 kB / 360.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.134, allocations: 7.938 kB / 360.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/0.1345, allocations: 205.8 kB / 360.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.1345, allocations: 0 / 360.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001891/0.1364, allocations: 0.7084 MB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.1365, allocations: 114.9 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.1368, allocations: 286.9 kB / 361.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1369, allocations: 37.69 kB / 361.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.137, allocations: 215.9 kB / 362 MB, free: 9.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.1371, allocations: 59.19 kB / 362 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.1371, allocations: 4 kB / 362 MB, free: 9.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1372, allocations: 338.8 kB / 362.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.1376, allocations: 128.2 kB / 362.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.138, allocations: 229.5 kB / 362.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.1384, allocations: 177.8 kB / 362.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1384, allocations: 0 / 362.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001118/0.1395, allocations: 0.5132 MB / 363.4 MB, free: 8.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.1396, allocations: 33.7 kB / 363.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.1396, allocations: 4 kB / 363.4 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000291/0.1399, allocations: 72.88 kB / 363.5 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1401, allocations: 71.89 kB / 363.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.1425, allocations: 1.76 MB / 365.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.1428, allocations: 67.66 kB / 365.4 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.1428, allocations: 15.98 kB / 365.4 MB, free: 5.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 29 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.143, allocations: 153.8 kB / 365.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.1431, allocations: 23.72 kB / 365.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.1431, allocations: 38.16 kB / 365.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1431, allocations: 0 / 365.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1431, allocations: 0 / 365.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1431, allocations: 0 / 365.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.1446, allocations: 0.8316 MB / 366.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.1446, allocations: 3.984 kB / 366.5 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.1448, allocations: 43.97 kB / 366.5 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/0.145, allocations: 72.78 kB / 366.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.145, allocations: 8 kB / 366.6 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.1468, allocations: 1.542 MB / 368.1 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.1468, allocations: 11.91 kB / 368.1 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.1481, allocations: 0.6139 MB / 368.7 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.926e-05/0.1482, allocations: 100.8 kB / 368.8 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.1482, allocations: 8 kB / 368.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.1485, allocations: 39.95 kB / 368.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.1486, allocations: 24.03 kB / 368.9 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1486, allocations: 8 kB / 368.9 MB, free: 2.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.1488, allocations: 209.9 kB / 369.1 MB, free: 1.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1488, allocations: 0 / 369.1 MB, free: 1.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.1493, allocations: 79.75 kB / 369.2 MB, free: 1.863 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * 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 (16): * Single equations (assignments): 13 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.1494, allocations: 119.1 kB / 369.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.1506, allocations: 0.5331 MB / 369.9 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1506, allocations: 0 / 369.9 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.1511, allocations: 247.2 kB / 370.1 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.1515, allocations: 48.86 kB / 370.1 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.229/0.3806, allocations: 1.016 MB / 371.2 MB, free: 24.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.3811, allocations: 0.7654 MB / 371.9 MB, free: 24.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.3812, allocations: 24 kB / 372 MB, free: 24.02 MB / 302.1 MB Notification: Performance of SimCode: time 1.904e-06/0.3813, allocations: 2.438 kB / 372 MB, free: 24.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01544/0.3967, allocations: 5.219 MB / 377.2 MB, free: 23.79 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPassCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPassCalcHelperMain.o] Error 1