Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 105.4 kB / 17.8 MB, free: 5.684 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.001989/0.001989, allocations: 201.9 kB / 18.73 MB, free: 4.766 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.819/1.819, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001356/0.001356, allocations: 47.94 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1355, allocations: 46.64 MB / 327.3 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.006197/0.1417, allocations: 2.742 MB / 330 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1438, allocations: 0.7138 MB / 330.7 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.1442, allocations: 8 kB / 330.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.1446, allocations: 35.7 kB / 330.8 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.1448, allocations: 71.45 kB / 330.8 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.1452, allocations: 83.91 kB / 330.9 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.1458, allocations: 334.5 kB / 331.2 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.146, allocations: 77.08 kB / 331.3 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.1463, allocations: 119.5 kB / 331.4 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.1465, allocations: 139.4 kB / 331.6 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.1466, allocations: 16 kB / 331.6 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.244e-05/0.1467, allocations: 20 kB / 331.6 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.1467, allocations: 55.73 kB / 331.7 MB, free: 460 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.1469, allocations: 131.3 kB / 331.8 MB, free: 328 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.1472, allocations: 243.7 kB / 332 MB, free: 84 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1472, allocations: 0 / 332 MB, free: 84 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1472, allocations: 0 / 332 MB, free: 84 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1472, allocations: 0 / 332 MB, free: 84 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00157/0.1488, allocations: 0.6341 MB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1489, allocations: 15.97 kB / 332.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.514e-05/0.149, allocations: 32.66 kB / 332.7 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.1494, allocations: 275.5 kB / 333 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1495, allocations: 20.75 kB / 333 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.1495, allocations: 20.38 kB / 333 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.1502, allocations: 251.5 kB / 333.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1502, allocations: 4 kB / 333.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.1502, allocations: 8 kB / 333.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.1503, allocations: 4 kB / 333.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007325/0.151, allocations: 249.6 kB / 333.5 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.1526, allocations: 0.8813 MB / 334.4 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007108/0.1533, allocations: 222.6 kB / 334.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.1536, allocations: 100.8 kB / 334.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1537, allocations: 0 / 334.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005221/0.1542, allocations: 177.7 kB / 334.9 MB, free: 13.01 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.1542, allocations: 0 / 334.9 MB, free: 13.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002083/0.1563, allocations: 0.5887 MB / 335.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.1564, allocations: 106.8 kB / 335.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.1567, allocations: 266.6 kB / 335.8 MB, free: 11.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.1568, allocations: 29.7 kB / 335.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.157, allocations: 179.8 kB / 336 MB, free: 11.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.157, allocations: 43.34 kB / 336.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1571, allocations: 49.7 kB / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1573, allocations: 330.8 kB / 336.5 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.1576, allocations: 100.8 kB / 336.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.158, allocations: 173.3 kB / 336.7 MB, free: 11.04 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/0.1587, allocations: 268.3 kB / 337 MB, free: 10.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1587, allocations: 0 / 337 MB, free: 10.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001178/0.1599, allocations: 427.6 kB / 337.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.1599, allocations: 41.62 kB / 337.4 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.16, allocations: 4 kB / 337.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.1605, allocations: 116.7 kB / 337.6 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1607, allocations: 43.91 kB / 337.6 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.1634, allocations: 1.733 MB / 339.3 MB, free: 8.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.1638, allocations: 51.77 kB / 339.4 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.1638, allocations: 8 kB / 339.4 MB, free: 8.176 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004051/0.1642, allocations: 184.1 kB / 339.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003979/0.1646, allocations: 161.7 kB / 339.7 MB, free: 7.801 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005639/0.1652, allocations: 252.7 kB / 340 MB, free: 7.523 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.1652, allocations: 0 / 340 MB, free: 7.523 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0009315/0.1662, allocations: 347.6 kB / 340.3 MB, free: 7.168 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.1662, allocations: 29.7 kB / 340.4 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1662, allocations: 4 kB / 340.4 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.1664, allocations: 48.77 kB / 340.4 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.1666, allocations: 44.12 kB / 340.4 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.1684, allocations: 1.542 MB / 342 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.1688, allocations: 43.84 kB / 342 MB, free: 5.316 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.1688, allocations: 15.94 kB / 342 MB, free: 5.301 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.169, allocations: 192.2 kB / 342.2 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.1691, allocations: 23.66 kB / 342.3 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.766e-05/0.1692, allocations: 33.89 kB / 342.3 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1692, allocations: 0 / 342.3 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1692, allocations: 0 / 342.3 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1692, allocations: 3.984 kB / 342.3 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.1696, allocations: 293.4 kB / 342.6 MB, free: 4.711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1696, allocations: 0 / 342.6 MB, free: 4.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1697, allocations: 27.92 kB / 342.6 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/0.17, allocations: 68.73 kB / 342.7 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.17, allocations: 4 kB / 342.7 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.1721, allocations: 1.686 MB / 344.4 MB, free: 2.789 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1721, allocations: 4.031 kB / 344.4 MB, free: 2.785 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/0.173, allocations: 329.9 kB / 344.7 MB, free: 2.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1732, allocations: 100.8 kB / 344.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.1732, allocations: 4 kB / 344.8 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1734, allocations: 31.89 kB / 344.8 MB, free: 2.289 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.1735, allocations: 19.98 kB / 344.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1736, allocations: 11.98 kB / 344.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003843/0.174, allocations: 186 kB / 345 MB, free: 2.074 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.174, allocations: 0 / 345 MB, free: 2.074 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006877/0.1747, allocations: 127.7 kB / 345.2 MB, free: 1.949 MB / 286.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001795/0.1749, allocations: 107.2 kB / 345.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.1766, allocations: 0.7267 MB / 346 MB, free: 1.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1766, allocations: 4 kB / 346 MB, free: 1.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.1772, allocations: 234.6 kB / 346.2 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1776, allocations: 48.91 kB / 346.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.1799, allocations: 0.8129 MB / 347.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.1806, allocations: 0.7444 MB / 347.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.1807, allocations: 23.44 kB / 347.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of SimCode: time 1.312e-06/0.1807, allocations: 0 / 347.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Templates: time 0.009559/0.1902, allocations: 4.191 MB / 352 MB, free: 10.93 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmpCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmpCalcHelperMain.o] Error 1