Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FlipFlop.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.Digital.Examples.FlipFlop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FlipFlop") translateModel(Modelica.Electrical.Digital.Examples.FlipFlop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FlipFlop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 98.78 kB / 17.96 MB, free: 5.77 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.001384/0.001384, allocations: 175.9 kB / 18.86 MB, free: 4.906 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.012/2.012, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005329/0.000533, allocations: 19.92 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.002788/0.1204, allocations: 1.82 MB / 331.4 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1233, allocations: 1.127 MB / 332.6 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.1236, allocations: 4 kB / 332.6 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.1238, allocations: 39.7 kB / 332.6 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.124, allocations: 27.78 kB / 332.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.1246, allocations: 159.8 kB / 332.8 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006421/0.1253, allocations: 415.6 kB / 333.2 MB, free: 156 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004257/0.1257, allocations: 148.9 kB / 333.3 MB, free: 8 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.127, allocations: 0.7915 MB / 334.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005702/0.1276, allocations: 215 kB / 334.3 MB, free: 15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.1278, allocations: 12 kB / 334.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1279, allocations: 8 kB / 334.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.1282, allocations: 119.5 kB / 334.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.1286, allocations: 204.5 kB / 334.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008684/0.1294, allocations: 0.7716 MB / 335.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1295, allocations: 0 / 335.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1295, allocations: 0 / 335.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.115e-05/0.1295, allocations: 0 / 335.4 MB, free: 13.89 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001942/0.1315, allocations: 0.7242 MB / 336.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.362e-05/0.1316, allocations: 8.031 kB / 336.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.132, allocations: 56.38 kB / 336.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/0.1328, allocations: 347.4 kB / 336.6 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.1329, allocations: 32.97 kB / 336.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.1331, allocations: 32.38 kB / 336.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.1346, allocations: 498.1 kB / 337.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1347, allocations: 0 / 337.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.319e-05/0.1348, allocations: 16 kB / 337.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.1348, allocations: 16 kB / 337.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.1361, allocations: 382.4 kB / 337.5 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.1389, allocations: 1.12 MB / 338.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.1405, allocations: 475.2 kB / 339.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/0.141, allocations: 185.3 kB / 339.3 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.725e-05/0.1411, allocations: 4.281 kB / 339.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008366/0.1419, allocations: 347.2 kB / 339.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 3.857e-06/0.142, allocations: 4 kB / 339.6 MB, free: 9.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.002198/0.1442, allocations: 0.7422 MB / 340.4 MB, free: 8.746 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.1443, allocations: 114.8 kB / 340.5 MB, free: 8.609 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.1449, allocations: 310.4 kB / 340.8 MB, free: 8.301 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.145, allocations: 37.7 kB / 340.8 MB, free: 8.258 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.1452, allocations: 176.7 kB / 341 MB, free: 8.078 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.1454, allocations: 83 kB / 341.1 MB, free: 7.996 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.1456, allocations: 69.67 kB / 341.2 MB, free: 7.922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.1458, allocations: 342.8 kB / 341.5 MB, free: 7.578 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.1464, allocations: 188.8 kB / 341.7 MB, free: 7.395 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.147, allocations: 240.5 kB / 341.9 MB, free: 7.145 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.1483, allocations: 0.53 MB / 342.4 MB, free: 6.574 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.1484, allocations: 0 / 342.4 MB, free: 6.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001666/0.15, allocations: 0.6566 MB / 343.1 MB, free: 5.898 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.501e-05/0.1501, allocations: 63.41 kB / 343.2 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1502, allocations: 0 / 343.2 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.1502, allocations: 4 kB / 343.2 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.1504, allocations: 59.83 kB / 343.2 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.1504, allocations: 4 kB / 343.2 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.151, allocations: 51.81 kB / 343.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/0.1515, allocations: 291.8 kB / 343.6 MB, free: 5.422 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition1,$PRE.FF.And2.auxiliary_n,FF.RS2.TD1.x_delayed,$PRE.FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.x[2],FF.RS2.Nor2.x[1],$PRE.FF.And4.auxiliary_n,FF.RS1.TD1.x_delayed,$PRE.FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.x[2],FF.RS1.Nor2.x[1],$PRE.FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And4.x[1],FF.And3.auxiliary_n,FF.And3.x[2],$PRE.FF.And1.auxiliary_n,FF.And1.y,FF.RS2.TD1.x,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary[2],K.y,J.y,CLK.t_i,$PRE.CLK.t_i,FF.Not1.auxiliary,$PRE.FF.And3.auxiliary_n,FF.And3.y,FF.And2.auxiliary_n,FF.And2.auxiliary[2],FF.And2.x[1],FF.And1.auxiliary_n,FF.And1.auxiliary[2],FF.And1.x[1],FF.RS1.TD1.x,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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.0005969/0.1521, allocations: 281.1 kB / 343.8 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.1522, allocations: 31.62 kB / 343.9 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1523, allocations: 34.95 kB / 343.9 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.1524, allocations: 8 kB / 343.9 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.1524, allocations: 0 / 343.9 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.1524, allocations: 3.984 kB / 343.9 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009873/0.1534, allocations: 485.1 kB / 344.4 MB, free: 4.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.1534, allocations: 3.938 kB / 344.4 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.1536, allocations: 47.91 kB / 344.4 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.1536, allocations: 4 kB / 344.4 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.1537, allocations: 43.97 kB / 344.5 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.1537, allocations: 4 kB / 344.5 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.1537, allocations: 3.984 kB / 344.5 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.1554, allocations: 0.6216 MB / 345.1 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.1559, allocations: 200.7 kB / 345.3 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.1561, allocations: 12 kB / 345.3 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.1565, allocations: 43.88 kB / 345.4 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/0.1568, allocations: 87.91 kB / 345.4 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004016/0.1572, allocations: 279.7 kB / 345.7 MB, free: 3.137 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002966/0.1575, allocations: 205.9 kB / 345.9 MB, free: 2.938 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1575, allocations: 0 / 345.9 MB, free: 2.938 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007022/0.1582, allocations: 99.75 kB / 346 MB, free: 2.84 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: 33 ($whenCondition1,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[1],FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[1],FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.x[1],FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,FF.Not1.auxiliary,CLK.t_i,J.y,K.y) * Number of discrete states: 13 (FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,K.y,J.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * 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.000391/0.1586, allocations: 141.8 kB / 346.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.1601, allocations: 0.5725 MB / 346.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1602, allocations: 0 / 346.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007694/0.1609, allocations: 358.5 kB / 347.1 MB, free: 1.719 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.1627, allocations: 292.5 kB / 347.4 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.165, allocations: 0.8677 MB / 348.2 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/0.1657, allocations: 0.8111 MB / 349 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/0.1675, allocations: 358.5 kB / 349.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1675, allocations: 0 / 349.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Templates: time 0.01609/0.1836, allocations: 8.266 MB / 357.7 MB, free: 6.707 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FlipFlop.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FlipFlop.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.Digital.Examples.FlipFlopCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.FlipFlopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.FlipFlopCalcHelperMain.o] Error 1