Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.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.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009964/0.0009965, allocations: 89.22 kB / 17.58 MB, free: 6.219 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.001031/0.00103, allocations: 192 kB / 18.48 MB, free: 5.379 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.654/1.654, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004726/0.0004728, allocations: 12 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 47.58 MB / 329 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.003999/0.116, allocations: 3.476 MB / 332.5 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.118, allocations: 1.076 MB / 333.5 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.1183, allocations: 11.94 kB / 333.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.1185, allocations: 63.47 kB / 333.6 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1189, allocations: 142.8 kB / 333.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.1194, allocations: 167.7 kB / 333.9 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007682/0.1202, allocations: 0.8431 MB / 334.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.1206, allocations: 200 kB / 335 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.1209, allocations: 303 kB / 335.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.1213, allocations: 362.6 kB / 335.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.69e-05/0.1214, allocations: 48 kB / 335.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.1215, allocations: 48 kB / 335.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1216, allocations: 139.5 kB / 335.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1218, allocations: 145.4 kB / 336 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007047/0.1225, allocations: 0.865 MB / 336.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1225, allocations: 0 / 336.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1225, allocations: 4 kB / 336.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1225, allocations: 0 / 336.8 MB, free: 12.18 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002415/0.125, allocations: 1.161 MB / 338 MB, free: 10.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.125, allocations: 12.03 kB / 338 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.1252, allocations: 83.03 kB / 338.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.1257, allocations: 428.8 kB / 338.5 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.1258, allocations: 41.27 kB / 338.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-05/0.1259, allocations: 52 kB / 338.6 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.1279, allocations: 1.003 MB / 339.6 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1279, allocations: 0 / 339.6 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/0.128, allocations: 28 kB / 339.6 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.128, allocations: 16 kB / 339.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.1307, allocations: 1.132 MB / 340.8 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004338/0.135, allocations: 3.13 MB / 343.9 MB, free: 4.805 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.1373, allocations: 1.03 MB / 344.9 MB, free: 3.727 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.1383, allocations: 498.2 kB / 345.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.1384, allocations: 16.42 kB / 345.4 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.1396, allocations: 0.5127 MB / 346 MB, free: 2.695 MB / 286.1 MB Notification: Performance of pre-optimization done (n=50): time 2.715e-06/0.1396, allocations: 0 / 346 MB, free: 2.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=50): time 0.003028/0.1426, allocations: 1.256 MB / 347.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.1428, allocations: 269.5 kB / 347.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007233/0.1435, allocations: 0.5016 MB / 348 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.1436, allocations: 37.7 kB / 348 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.1438, allocations: 331.6 kB / 348.3 MB, free: 232 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.144, allocations: 173.6 kB / 348.5 MB, free: 56 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1441, allocations: 12 kB / 348.5 MB, free: 44 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1443, allocations: 370.8 kB / 348.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.1454, allocations: 457.7 kB / 349.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.1467, allocations: 0.7081 MB / 350 MB, free: 14.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.148, allocations: 0.5285 MB / 350.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.148, allocations: 0 / 350.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002786/0.1508, allocations: 1.236 MB / 351.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.1508, allocations: 63.39 kB / 351.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1509, allocations: 8 kB / 351.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.1509, allocations: 12 kB / 351.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009779/0.1519, allocations: 247.9 kB / 352.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.1519, allocations: 19.92 kB / 352.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009773/0.1529, allocations: 219 kB / 352.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/0.153, allocations: 31.98 kB / 352.4 MB, free: 12.01 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.VIN1.signalSource.T_start,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.count,VIN1.signalSource.count,$PRE.VIN2.signalSource.T_start,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.count,VIN2.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * 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.0003324/0.1533, allocations: 213.6 kB / 352.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.1534, allocations: 55.34 kB / 352.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.1536, allocations: 69.58 kB / 352.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1536, allocations: 8 kB / 352.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.1536, allocations: 0 / 352.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.1536, allocations: 11.91 kB / 352.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.157, allocations: 1.755 MB / 354.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.157, allocations: 4 kB / 354.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.1577, allocations: 175.8 kB / 354.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.1578, allocations: 3.953 kB / 354.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.1578, allocations: 15.98 kB / 354.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1578, allocations: 4 kB / 354.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1578, allocations: 0 / 354.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/0.1611, allocations: 1.458 MB / 356.2 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.1613, allocations: 140.4 kB / 356.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.1614, allocations: 19.89 kB / 356.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006925/0.1621, allocations: 139.9 kB / 356.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.1623, allocations: 56.36 kB / 356.5 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.1623, allocations: 15.98 kB / 356.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005351/0.1629, allocations: 346.9 kB / 356.9 MB, free: 7.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1629, allocations: 0 / 356.9 MB, free: 7.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00066/0.1635, allocations: 175.7 kB / 357 MB, free: 7.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001828/0.1637, allocations: 111.2 kB / 357.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.1664, allocations: 1.107 MB / 358.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1664, allocations: 0 / 358.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.1674, allocations: 474.3 kB / 358.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.168, allocations: 85.88 kB / 358.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.1706, allocations: 1.454 MB / 360.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.1711, allocations: 0.863 MB / 361.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.1714, allocations: 55.42 kB / 361.2 MB, free: 3.051 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1714, allocations: 0 / 361.2 MB, free: 3.051 MB / 302.1 MB Notification: Performance of Templates: time 0.01403/0.1854, allocations: 8.584 MB / 369.7 MB, free: 10.46 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.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_3.2.3_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.o] Error 1