Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.00125/0.00125, allocations: 194 kB / 18.72 MB, free: 4.762 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.795/1.795, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001194/0.001194, allocations: 51.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 46.64 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00486/0.1562, allocations: 2.652 MB / 329.9 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1579, allocations: 0.7061 MB / 330.6 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.158, allocations: 4 kB / 330.6 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.1583, allocations: 19.78 kB / 330.6 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.1585, allocations: 75.44 kB / 330.7 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.1588, allocations: 79.86 kB / 330.8 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.1592, allocations: 314.7 kB / 331.1 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1594, allocations: 69.14 kB / 331.2 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.1596, allocations: 107.6 kB / 331.3 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1598, allocations: 131.4 kB / 331.4 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.1598, allocations: 16 kB / 331.4 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.1599, allocations: 20 kB / 331.4 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.1599, allocations: 55.69 kB / 331.5 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.1602, allocations: 123.4 kB / 331.6 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.1605, allocations: 235.6 kB / 331.8 MB, free: 284 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1605, allocations: 4 kB / 331.8 MB, free: 280 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1605, allocations: 0 / 331.8 MB, free: 280 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1605, allocations: 3.938 kB / 331.9 MB, free: 276 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001415/0.1619, allocations: 0.6104 MB / 332.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.162, allocations: 12.03 kB / 332.5 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.1621, allocations: 24.66 kB / 332.5 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.1624, allocations: 271.4 kB / 332.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1625, allocations: 12.69 kB / 332.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.1625, allocations: 24.38 kB / 332.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.1632, allocations: 240.6 kB / 333 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1632, allocations: 0 / 333 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.1632, allocations: 12 kB / 333 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.1632, allocations: 4 kB / 333.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.1641, allocations: 243.5 kB / 333.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.1657, allocations: 0.8247 MB / 334.1 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008933/0.1666, allocations: 226.6 kB / 334.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.1669, allocations: 100.8 kB / 334.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1669, allocations: 0 / 334.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005484/0.1675, allocations: 157 kB / 334.6 MB, free: 13.33 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.1675, allocations: 4 kB / 334.6 MB, free: 13.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.00108/0.1686, allocations: 285.2 kB / 334.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/0.1687, allocations: 85.11 kB / 335 MB, free: 12.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.1691, allocations: 240.9 kB / 335.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.1691, allocations: 25.7 kB / 335.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1693, allocations: 171.9 kB / 335.4 MB, free: 12.49 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.1693, allocations: 43.39 kB / 335.4 MB, free: 12.45 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.1695, allocations: 41.7 kB / 335.5 MB, free: 12.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1696, allocations: 326.8 kB / 335.8 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.1699, allocations: 96.78 kB / 335.9 MB, free: 11.97 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.1703, allocations: 142.8 kB / 336 MB, free: 11.81 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.1709, allocations: 247 kB / 336.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1709, allocations: 3.938 kB / 336.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007454/0.1717, allocations: 314.9 kB / 336.6 MB, free: 11.22 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.1717, allocations: 33.7 kB / 336.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1718, allocations: 3.984 kB / 336.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1718, allocations: 4 kB / 336.6 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.172, allocations: 59.89 kB / 336.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1721, allocations: 0 / 336.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.1723, allocations: 47.75 kB / 336.7 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.1724, allocations: 8 kB / 336.7 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003204/0.1727, allocations: 172.1 kB / 336.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000287/0.173, allocations: 134.8 kB / 337 MB, free: 10.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004625/0.1735, allocations: 219.5 kB / 337.2 MB, free: 10.49 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.1735, allocations: 7.875 kB / 337.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006258/0.1741, allocations: 294.1 kB / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.1741, allocations: 33.7 kB / 337.6 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1742, allocations: 0 / 337.6 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.1742, allocations: 7.984 kB / 337.6 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1744, allocations: 47.91 kB / 337.6 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1744, allocations: 4 kB / 337.6 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.1746, allocations: 35.91 kB / 337.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1747, allocations: 12 kB / 337.7 MB, free: 10.04 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.1748, allocations: 196.1 kB / 337.9 MB, free: 9.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.1749, allocations: 19.8 kB / 337.9 MB, free: 9.82 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.1749, allocations: 25.84 kB / 337.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1749, allocations: 0 / 337.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1749, allocations: 0 / 337.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.175, allocations: 7.969 kB / 337.9 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.1753, allocations: 285.3 kB / 338.2 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1753, allocations: 4 kB / 338.2 MB, free: 9.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1755, allocations: 39.95 kB / 338.2 MB, free: 9.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1755, allocations: 4 kB / 338.2 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1755, allocations: 4 kB / 338.2 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1755, allocations: 0 / 338.2 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1756, allocations: 0 / 338.2 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008659/0.1764, allocations: 345.2 kB / 338.6 MB, free: 9.055 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.1765, allocations: 108.8 kB / 338.7 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.1766, allocations: 3.938 kB / 338.7 MB, free: 8.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.1768, allocations: 32.03 kB / 338.7 MB, free: 8.895 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.1769, allocations: 15.97 kB / 338.7 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1769, allocations: 8 kB / 338.7 MB, free: 8.871 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.1771, allocations: 172.5 kB / 338.9 MB, free: 8.703 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1771, allocations: 0 / 338.9 MB, free: 8.703 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004099/0.1775, allocations: 99.75 kB / 339 MB, free: 8.605 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001879/0.1777, allocations: 99.25 kB / 339.1 MB, free: 8.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.1788, allocations: 431 kB / 339.5 MB, free: 8.055 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1788, allocations: 4.188 kB / 339.5 MB, free: 8.051 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.1791, allocations: 87.88 kB / 339.6 MB, free: 7.965 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.1795, allocations: 48.28 kB / 339.7 MB, free: 7.918 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1807, allocations: 0.5787 MB / 340.2 MB, free: 7.305 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.1811, allocations: 0.7404 MB / 341 MB, free: 6.539 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.1812, allocations: 19.44 kB / 341 MB, free: 6.52 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1812, allocations: 0 / 341 MB, free: 6.52 MB / 286.1 MB Notification: Performance of Templates: time 0.005414/0.1867, allocations: 2.917 MB / 343.9 MB, free: 3.602 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.o] Error 1