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.00139/0.00139, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001468/0.001468, allocations: 194 kB / 18.72 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 1.75/1.75, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001187/0.001187, allocations: 55.94 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1366, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.00478/0.1415, allocations: 2.182 MB / 329.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.1445, allocations: 1.143 MB / 330.6 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.1448, allocations: 4 kB / 330.6 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.1452, allocations: 43.7 kB / 330.6 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.1454, allocations: 23.78 kB / 330.6 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.146, allocations: 163.8 kB / 330.8 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004631/0.1465, allocations: 415.6 kB / 331.2 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.1469, allocations: 156.9 kB / 331.4 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008946/0.1478, allocations: 0.8109 MB / 332.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.1481, allocations: 239 kB / 332.4 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.1482, allocations: 20 kB / 332.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.491e-05/0.1483, allocations: 16 kB / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.1485, allocations: 123.5 kB / 332.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.1487, allocations: 198.7 kB / 332.8 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.1494, allocations: 0.7835 MB / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1494, allocations: 0 / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1494, allocations: 0 / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1494, allocations: 4 kB / 333.5 MB, free: 14.58 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.001366/0.1508, allocations: 0.8723 MB / 334.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1508, allocations: 12.03 kB / 334.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.151, allocations: 44.47 kB / 334.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.1515, allocations: 351.4 kB / 334.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.1516, allocations: 25.03 kB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/0.1517, allocations: 32.38 kB / 334.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/0.1526, allocations: 0.4902 MB / 335.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1526, allocations: 0 / 335.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.1527, allocations: 16 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.1527, allocations: 8 kB / 335.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.1534, allocations: 374.4 kB / 335.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.1552, allocations: 1.112 MB / 336.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1563, allocations: 443.5 kB / 337.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.1567, allocations: 181.3 kB / 337.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.439e-05/0.1568, allocations: 8.266 kB / 337.5 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006646/0.1574, allocations: 339.2 kB / 337.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.843e-06/0.1575, allocations: 0 / 337.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001445/0.1589, allocations: 0.7267 MB / 338.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.159, allocations: 110.8 kB / 338.6 MB, free: 9.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.1593, allocations: 314.4 kB / 338.9 MB, free: 8.934 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/0.1594, allocations: 37.7 kB / 339 MB, free: 8.891 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1595, allocations: 180.7 kB / 339.2 MB, free: 8.707 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.1597, allocations: 79 kB / 339.2 MB, free: 8.629 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.1599, allocations: 186 kB / 339.4 MB, free: 8.441 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1601, allocations: 338.8 kB / 339.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.1605, allocations: 188.8 kB / 339.9 MB, free: 7.918 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.1609, allocations: 236.5 kB / 340.2 MB, free: 7.672 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008457/0.1618, allocations: 0.5183 MB / 340.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1618, allocations: 4 kB / 340.7 MB, free: 7.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001128/0.1629, allocations: 0.6409 MB / 341.3 MB, free: 6.449 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.163, allocations: 67.34 kB / 341.4 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.163, allocations: 0 / 341.4 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1631, allocations: 4 kB / 341.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1632, allocations: 59.89 kB / 341.5 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1632, allocations: 4 kB / 341.5 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.1636, allocations: 59.66 kB / 341.5 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/0.1639, allocations: 291.7 kB / 341.8 MB, free: 5.961 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.0003519/0.1643, allocations: 281.1 kB / 342.1 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.1643, allocations: 27.72 kB / 342.1 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.493e-05/0.1644, allocations: 34.95 kB / 342.1 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1645, allocations: 8 kB / 342.1 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1645, allocations: 0 / 342.1 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1645, allocations: 3.984 kB / 342.2 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.1651, allocations: 485.1 kB / 342.6 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1651, allocations: 0 / 342.6 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1652, allocations: 47.91 kB / 342.7 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1652, allocations: 7.984 kB / 342.7 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.306e-05/0.1653, allocations: 43.98 kB / 342.7 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1653, allocations: 4 kB / 342.7 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1653, allocations: 0 / 342.7 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.1663, allocations: 0.6139 MB / 343.3 MB, free: 4.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.1666, allocations: 196.5 kB / 343.5 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.1667, allocations: 16 kB / 343.5 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.167, allocations: 31.97 kB / 343.6 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.1672, allocations: 87.91 kB / 343.7 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002884/0.1675, allocations: 279.7 kB / 343.9 MB, free: 3.703 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.1677, allocations: 209.9 kB / 344.1 MB, free: 3.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.1677, allocations: 0 / 344.1 MB, free: 3.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004713/0.1682, allocations: 107.7 kB / 344.2 MB, free: 3.395 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.0002539/0.1684, allocations: 133.8 kB / 344.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.1696, allocations: 0.5569 MB / 344.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1696, allocations: 0 / 344.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.1702, allocations: 350.6 kB / 345.3 MB, free: 2.305 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.1716, allocations: 292.7 kB / 345.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.1736, allocations: 0.8779 MB / 346.4 MB, free: 1.102 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.1741, allocations: 0.8072 MB / 347.3 MB, free: 272 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/0.1756, allocations: 362.6 kB / 347.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1756, allocations: 0 / 347.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01341/0.189, allocations: 8.298 MB / 355.9 MB, free: 7.25 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