Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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.001313/0.001312, allocations: 97.02 kB / 16.96 MB, free: 5.957 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.001464/0.001464, allocations: 180.8 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.642/1.642, allocations: 223.3 MB / 241.9 MB, free: 252 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004503, allocations: 11.94 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 50.42 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004371/0.1594, allocations: 2.43 MB / 354.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1612, allocations: 0.6743 MB / 355 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.1614, allocations: 8 kB / 355 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.1616, allocations: 31.75 kB / 355 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1619, allocations: 83.33 kB / 355.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.1623, allocations: 71.91 kB / 355.2 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.1628, allocations: 346.5 kB / 355.5 MB, free: 352 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.1631, allocations: 93.8 kB / 355.6 MB, free: 256 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.1634, allocations: 123.5 kB / 355.7 MB, free: 132 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.1637, allocations: 139.4 kB / 355.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.1638, allocations: 16 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.513e-05/0.1638, allocations: 19.94 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.07e-05/0.1639, allocations: 59.7 kB / 356 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.164, allocations: 77.58 kB / 356 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.1645, allocations: 327.3 kB / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1645, allocations: 0 / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1645, allocations: 0 / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1645, allocations: 0 / 356.3 MB, free: 15.5 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001717/0.1663, allocations: 0.6379 MB / 357 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.1663, allocations: 8.031 kB / 357 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.1665, allocations: 31.62 kB / 357 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.167, allocations: 279.5 kB / 357.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.167, allocations: 16.56 kB / 357.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/0.1671, allocations: 24 kB / 357.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.1682, allocations: 331.6 kB / 357.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1682, allocations: 0 / 357.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.1683, allocations: 8 kB / 357.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.1683, allocations: 8 kB / 357.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.1695, allocations: 306 kB / 358 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.1721, allocations: 1.154 MB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.1733, allocations: 274.6 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.1738, allocations: 124.7 kB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1739, allocations: 7.969 kB / 359.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006921/0.1746, allocations: 185 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.565e-06/0.1746, allocations: 0 / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001602/0.1762, allocations: 361.2 kB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.1763, allocations: 81.11 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.1767, allocations: 262.5 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.1768, allocations: 29.7 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.177, allocations: 199.5 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.1771, allocations: 39.45 kB / 360.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.1771, allocations: 0 / 360.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1773, allocations: 338.8 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.1778, allocations: 116.2 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.1784, allocations: 204.5 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/0.1789, allocations: 156.6 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.179, allocations: 3.953 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001315/0.1803, allocations: 394.8 kB / 361.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.1803, allocations: 33.7 kB / 361.9 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1804, allocations: 8.188 kB / 361.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.1804, allocations: 4 kB / 361.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.1808, allocations: 75.88 kB / 362 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.1809, allocations: 4 kB / 362 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.1813, allocations: 59.72 kB / 362 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.1814, allocations: 8 kB / 362 MB, free: 9.473 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 (26): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.1816, allocations: 153.7 kB / 362.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.1817, allocations: 23.77 kB / 362.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.446e-05/0.1818, allocations: 17.72 kB / 362.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1818, allocations: 0 / 362.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.1818, allocations: 7.984 kB / 362.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.1818, allocations: 4 kB / 362.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.1823, allocations: 313.4 kB / 362.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1823, allocations: 0 / 362.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.1826, allocations: 51.91 kB / 362.6 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.1826, allocations: 0 / 362.6 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.1827, allocations: 7.938 kB / 362.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1827, allocations: 11.92 kB / 362.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1827, allocations: 0 / 362.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.1842, allocations: 404.7 kB / 363 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.1843, allocations: 96.84 kB / 363.1 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.1844, allocations: 11.95 kB / 363.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.1847, allocations: 36.03 kB / 363.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.1849, allocations: 15.97 kB / 363.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1849, allocations: 8 kB / 363.2 MB, free: 8.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003079/0.1852, allocations: 190 kB / 363.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1852, allocations: 0 / 363.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005659/0.1858, allocations: 67.78 kB / 363.4 MB, free: 7.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002576/0.1861, allocations: 107.2 kB / 363.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.1873, allocations: 323.5 kB / 363.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.1873, allocations: 4 kB / 363.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.1879, allocations: 112 kB / 364 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.1884, allocations: 48.48 kB / 364 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1902, allocations: 0.655 MB / 364.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1906, allocations: 0.756 MB / 365.4 MB, free: 5.906 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.1908, allocations: 27.38 kB / 365.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1908, allocations: 0 / 365.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of Templates: time 0.007045/0.1978, allocations: 3.285 MB / 368.7 MB, free: 2.609 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.DifferentiatorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.o] Error 1