Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.000813/0.0008128, allocations: 95 kB / 16.96 MB, free: 5.949 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.0009745/0.0009746, allocations: 178 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.734/1.734, allocations: 223.2 MB / 241.8 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003693, allocations: 8 kB / 301.4 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 50.42 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.002483/0.1405, allocations: 1.743 MB / 353.6 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.143, allocations: 1.053 MB / 354.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1431, allocations: 7.938 kB / 354.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.1433, allocations: 27.77 kB / 354.7 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.1435, allocations: 39.7 kB / 354.7 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.144, allocations: 111.9 kB / 354.8 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004243/0.1444, allocations: 403.6 kB / 355.2 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.1447, allocations: 116.1 kB / 355.4 MB, free: 500 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008823/0.1456, allocations: 0.6785 MB / 356 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.1459, allocations: 247.4 kB / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.146, allocations: 12 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.063e-05/0.1461, allocations: 8 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.1463, allocations: 115.7 kB / 356.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1464, allocations: 93.45 kB / 356.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.1471, allocations: 0.7791 MB / 357.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1471, allocations: 4 kB / 357.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1471, allocations: 0 / 357.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1471, allocations: 0 / 357.3 MB, free: 14.55 MB / 302.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.001137/0.1483, allocations: 0.7281 MB / 358 MB, free: 13.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1483, allocations: 12.03 kB / 358 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.1485, allocations: 43.53 kB / 358.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.149, allocations: 338.4 kB / 358.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.149, allocations: 28.66 kB / 358.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.1491, allocations: 32 kB / 358.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/0.15, allocations: 489.8 kB / 358.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.15, allocations: 3.953 kB / 358.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.1501, allocations: 16 kB / 358.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.1501, allocations: 8 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007817/0.1509, allocations: 386.4 kB / 359.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.1528, allocations: 1.12 MB / 360.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.1539, allocations: 470.8 kB / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.1543, allocations: 185.3 kB / 361.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.949e-05/0.1544, allocations: 4.281 kB / 361.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006375/0.155, allocations: 355 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 3.026e-06/0.155, allocations: 0 / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001462/0.1565, allocations: 0.7423 MB / 362.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.1566, allocations: 106.8 kB / 362.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.157, allocations: 314.3 kB / 362.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.157, allocations: 37.7 kB / 362.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1572, allocations: 172.7 kB / 362.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.1573, allocations: 83.08 kB / 362.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.1574, allocations: 8 kB / 362.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1575, allocations: 338.8 kB / 363.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.1579, allocations: 188.8 kB / 363.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.1583, allocations: 244.5 kB / 363.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.1588, allocations: 262 kB / 363.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1588, allocations: 0 / 363.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001127/0.1599, allocations: 0.6565 MB / 364.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/0.16, allocations: 63.41 kB / 364.6 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.16, allocations: 4 kB / 364.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.16, allocations: 4 kB / 364.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1602, allocations: 63.83 kB / 364.7 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.1602, allocations: 4.031 kB / 364.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.1606, allocations: 55.81 kB / 364.7 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.1609, allocations: 279.7 kB / 365 MB, free: 6.5 MB / 302.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,FF.RS2.Nor2.x[1],FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[1],FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.x[1],FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,$PRE.CLK.t_i,CLK.t_i,J.y,K.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004207/0.1613, allocations: 289.1 kB / 365.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.1614, allocations: 35.58 kB / 365.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-05/0.1615, allocations: 38.95 kB / 365.4 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.1615, allocations: 4 kB / 365.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1615, allocations: 0 / 365.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1615, allocations: 3.984 kB / 365.4 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.1621, allocations: 477.2 kB / 365.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1621, allocations: 0 / 365.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.1623, allocations: 51.91 kB / 365.9 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.1623, allocations: 7.938 kB / 365.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.157e-05/0.1624, allocations: 47.98 kB / 366 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1624, allocations: 0 / 366 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1624, allocations: 0 / 366 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1634, allocations: 0.6179 MB / 366.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.1637, allocations: 192.7 kB / 366.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/0.1638, allocations: 15.95 kB / 366.8 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.164, allocations: 43.81 kB / 366.8 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.1642, allocations: 87.91 kB / 366.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/0.1645, allocations: 283.6 kB / 367.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.1647, allocations: 201.9 kB / 367.4 MB, free: 4.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1647, allocations: 0 / 367.4 MB, free: 4.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.1652, allocations: 103.8 kB / 367.5 MB, free: 3.918 MB / 302.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 (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.0002014/0.1654, allocations: 129.9 kB / 367.6 MB, free: 3.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.1664, allocations: 0.5608 MB / 368.2 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1664, allocations: 3.938 kB / 368.2 MB, free: 3.191 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000502/0.1669, allocations: 358.5 kB / 368.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.1681, allocations: 291.3 kB / 368.8 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1695, allocations: 0.842 MB / 369.7 MB, free: 1.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.17, allocations: 0.8072 MB / 370.5 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.1711, allocations: 354.6 kB / 370.8 MB, free: 492 kB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1711, allocations: 4 kB / 370.8 MB, free: 488 kB / 302.1 MB Notification: Performance of Templates: time 0.2791/0.4502, allocations: 8.266 MB / 379.1 MB, free: 22.07 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FlipFlop.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FlipFlop.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_4.0.0_Modelica.Electrical.Digital.Examples.FlipFlopCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.FlipFlopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.FlipFlopCalcHelperMain.o] Error 1