Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,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.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,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.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 92.64 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.0019/0.0019, allocations: 190 kB / 17.85 MB, free: 5.316 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.535/1.535, allocations: 223.2 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 8 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1287, allocations: 50.41 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003042/0.1318, allocations: 2.321 MB / 354.2 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.133, allocations: 0.647 MB / 354.8 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.1332, allocations: 4 kB / 354.8 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.1334, allocations: 31.7 kB / 354.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1335, allocations: 71.45 kB / 354.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1338, allocations: 75.84 kB / 355 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.1342, allocations: 310.6 kB / 355.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.1344, allocations: 65.02 kB / 355.4 MB, free: 500 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1346, allocations: 115.5 kB / 355.5 MB, free: 384 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1348, allocations: 127.4 kB / 355.6 MB, free: 256 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.1348, allocations: 16 kB / 355.6 MB, free: 240 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.99e-05/0.1349, allocations: 12 kB / 355.7 MB, free: 228 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.1349, allocations: 55.7 kB / 355.7 MB, free: 172 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.999e-05/0.135, allocations: 69.58 kB / 355.8 MB, free: 96 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.1353, allocations: 235.6 kB / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.1353, allocations: 3.984 kB / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1354, allocations: 0 / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.1354, allocations: 0 / 356 MB, free: 15.86 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.001212/0.1366, allocations: 0.5989 MB / 356.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1367, allocations: 12.03 kB / 356.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.1367, allocations: 35.61 kB / 356.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.1371, allocations: 262.5 kB / 356.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1372, allocations: 12.44 kB / 356.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.1372, allocations: 20 kB / 356.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.1379, allocations: 289.8 kB / 357.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1379, allocations: 0 / 357.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.1379, allocations: 11.95 kB / 357.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.138, allocations: 4 kB / 357.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007262/0.1387, allocations: 277.5 kB / 357.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.1404, allocations: 0.9336 MB / 358.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.1418, allocations: 487.5 kB / 358.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.1422, allocations: 108.8 kB / 359 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1422, allocations: 7.938 kB / 359 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004787/0.1427, allocations: 173.9 kB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 3.536e-06/0.1427, allocations: 3.984 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001962/0.1447, allocations: 0.655 MB / 359.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.1447, allocations: 110.7 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1451, allocations: 266.7 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.1451, allocations: 33.7 kB / 360.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1453, allocations: 191.6 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.1453, allocations: 35.56 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.1454, allocations: 0 / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1455, allocations: 334.8 kB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.1459, allocations: 107.9 kB / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.1463, allocations: 205.7 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.1467, allocations: 160.7 kB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1467, allocations: 0 / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001148/0.1478, allocations: 471.7 kB / 361.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.1479, allocations: 37.77 kB / 361.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.1479, allocations: 4 kB / 361.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.1483, allocations: 64.81 kB / 361.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.1485, allocations: 63.89 kB / 361.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.1506, allocations: 1.518 MB / 363.4 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.151, allocations: 59.72 kB / 363.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.151, allocations: 12 kB / 363.5 MB, free: 7.852 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (24): * Single equations (assignments): 22 * 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.0001903/0.1512, allocations: 149.8 kB / 363.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.1513, allocations: 23.67 kB / 363.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.1513, allocations: 25.7 kB / 363.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1513, allocations: 0 / 363.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1513, allocations: 0 / 363.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1513, allocations: 4 kB / 363.7 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.1527, allocations: 0.6829 MB / 364.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1528, allocations: 96 / 364.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.1529, allocations: 35.91 kB / 364.4 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002201/0.1531, allocations: 60.81 kB / 364.5 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1532, allocations: 7.938 kB / 364.5 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.155, allocations: 1.518 MB / 366 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.155, allocations: 4 kB / 366 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009438/0.156, allocations: 431.9 kB / 366.4 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.1561, allocations: 96.91 kB / 366.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.1561, allocations: 0 / 366.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.1563, allocations: 39.97 kB / 366.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1565, allocations: 23.97 kB / 366.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1565, allocations: 7.953 kB / 366.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.1567, allocations: 190 kB / 366.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1567, allocations: 0 / 366.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.1572, allocations: 67.84 kB / 366.8 MB, free: 4.266 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/0.1574, allocations: 99.19 kB / 366.9 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009884/0.1584, allocations: 417.8 kB / 367.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1584, allocations: 4.688 kB / 367.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.1588, allocations: 222.6 kB / 367.6 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.1592, allocations: 51.56 kB / 367.6 MB, free: 3.441 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1603, allocations: 0.5345 MB / 368.2 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.1607, allocations: 0.7443 MB / 368.9 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.1608, allocations: 19.44 kB / 368.9 MB, free: 2.086 MB / 302.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1608, allocations: 0 / 368.9 MB, free: 2.086 MB / 302.1 MB Notification: Performance of Templates: time 0.2822/0.443, allocations: 4.081 MB / 373 MB, free: 24.7 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollowerCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.o] Error 1