Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 92.34 kB / 17.95 MB, free: 5.629 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.0012/0.0012, allocations: 176.9 kB / 18.86 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 2.146/2.146, allocations: 205.4 MB / 225 MB, free: 13.08 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.000523/0.000523, allocations: 16 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1357, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006108/0.1419, allocations: 5.259 MB / 334.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003963/0.1459, allocations: 1.438 MB / 336.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006978/0.1467, allocations: 12 kB / 336.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.1471, allocations: 119.1 kB / 336.4 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006836/0.1477, allocations: 238 kB / 336.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008962/0.1487, allocations: 307.7 kB / 337 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.15, allocations: 1.163 MB / 338.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006369/0.1506, allocations: 358.7 kB / 338.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000665/0.1513, allocations: 374.6 kB / 338.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.1519, allocations: 461.9 kB / 339.3 MB, free: 10 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.152, allocations: 59.94 kB / 339.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.1523, allocations: 91.97 kB / 339.4 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.1525, allocations: 171.2 kB / 339.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.1529, allocations: 495.3 kB / 340.1 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009816/0.1539, allocations: 1.052 MB / 341.2 MB, free: 8.141 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.1539, allocations: 4 kB / 341.2 MB, free: 8.137 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.154, allocations: 3.938 kB / 341.2 MB, free: 8.133 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.154, allocations: 4 kB / 341.2 MB, free: 8.129 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002489/0.1565, allocations: 1.142 MB / 342.3 MB, free: 6.938 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.1565, allocations: 11.97 kB / 342.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.1568, allocations: 107.8 kB / 342.4 MB, free: 6.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/0.1576, allocations: 0.5012 MB / 342.9 MB, free: 6.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.725e-05/0.1576, allocations: 58.38 kB / 343 MB, free: 6.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.1578, allocations: 88.28 kB / 343.1 MB, free: 6.133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.1595, allocations: 0.8925 MB / 344 MB, free: 5.227 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1595, allocations: 4 kB / 344 MB, free: 5.223 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.1596, allocations: 36 kB / 344 MB, free: 5.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.1596, allocations: 16 kB / 344 MB, free: 5.172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.1612, allocations: 0.8159 MB / 344.8 MB, free: 4.355 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005177/0.1664, allocations: 3.092 MB / 347.9 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.1676, allocations: 0.6656 MB / 348.6 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.1683, allocations: 434.3 kB / 349 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.553e-05/0.1683, allocations: 8.562 kB / 349 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/0.1684, allocations: 39.12 kB / 349.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 3.767e-06/0.1684, allocations: 0 / 349.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.004724/0.1732, allocations: 2.252 MB / 351.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.1732, allocations: 64.05 kB / 351.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/0.1739, allocations: 0.5067 MB / 351.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.174, allocations: 41.64 kB / 351.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.1743, allocations: 391.5 kB / 352.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.1746, allocations: 252.3 kB / 352.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1747, allocations: 65.69 kB / 352.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1749, allocations: 378.8 kB / 353 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.1756, allocations: 321.9 kB / 353.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/0.1764, allocations: 441.1 kB / 353.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.1778, allocations: 0.7662 MB / 354.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1778, allocations: 4 kB / 354.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002243/0.1801, allocations: 1.064 MB / 355.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1801, allocations: 4 kB / 355.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.1801, allocations: 4 kB / 355.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/0.1807, allocations: 180.7 kB / 355.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008026/0.1815, allocations: 191.8 kB / 355.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.1855, allocations: 2.608 MB / 358.5 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/0.1863, allocations: 40.05 kB / 358.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/0.1863, allocations: 39.86 kB / 358.6 MB, free: 6.105 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005005/0.1868, allocations: 217.8 kB / 358.8 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.187, allocations: 67.25 kB / 358.9 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.1872, allocations: 86.17 kB / 359 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1872, allocations: 4 kB / 359 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.1872, allocations: 8 kB / 359 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.1872, allocations: 3.984 kB / 359 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.1883, allocations: 0.8454 MB / 359.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.1883, allocations: 4.125 kB / 359.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/0.189, allocations: 155.8 kB / 360 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/0.1896, allocations: 177.8 kB / 360.2 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.1897, allocations: 19.98 kB / 360.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003801/0.1935, allocations: 2.619 MB / 362.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1935, allocations: 0 / 362.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.1964, allocations: 1.427 MB / 364.2 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.1966, allocations: 144.3 kB / 364.4 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.895e-05/0.1967, allocations: 15.98 kB / 364.4 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/0.1973, allocations: 59.97 kB / 364.5 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.1974, allocations: 48.58 kB / 364.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.1975, allocations: 27.98 kB / 364.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004765/0.198, allocations: 354.8 kB / 364.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.198, allocations: 0 / 364.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000853/0.1989, allocations: 224 kB / 365.1 MB, free: 15.39 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002641/0.1991, allocations: 131.2 kB / 365.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.2014, allocations: 1.025 MB / 366.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2014, allocations: 0 / 366.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.2028, allocations: 0.6549 MB / 366.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.2036, allocations: 130.3 kB / 367 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.2075, allocations: 2.435 MB / 369.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.2081, allocations: 0.95 MB / 370.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.2083, allocations: 63.41 kB / 370.5 MB, free: 9.906 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2083, allocations: 7.938 kB / 370.5 MB, free: 9.898 MB / 318.1 MB Notification: Performance of Templates: time 0.2356/0.444, allocations: 13.46 MB / 383.9 MB, free: 51.53 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.DifferenceAmplifierCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifierCalcHelperMain.o] Error 1