Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.FlipFlop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 94.36 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 196.3 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 8 kB / 307.3 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1695, allocations: 51.49 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.002709/0.1722, allocations: 1.752 MB / 360.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.1753, allocations: 1.092 MB / 361.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.1754, allocations: 11.94 kB / 361.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.1756, allocations: 27.77 kB / 361.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.1758, allocations: 31.72 kB / 361.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.1763, allocations: 111.9 kB / 361.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.1768, allocations: 399.6 kB / 362.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.1772, allocations: 123.8 kB / 362.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009799/0.1782, allocations: 0.6707 MB / 363 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.1785, allocations: 251.4 kB / 363.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.271e-05/0.1786, allocations: 8 kB / 363.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.457e-05/0.1787, allocations: 19.94 kB / 363.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.1789, allocations: 123.7 kB / 363.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.179, allocations: 89.45 kB / 363.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.1798, allocations: 0.7831 MB / 364.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1798, allocations: 0 / 364.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1798, allocations: 0 / 364.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1798, allocations: 0 / 364.3 MB, free: 8.422 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.001465/0.1813, allocations: 0.7281 MB / 365 MB, free: 7.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1814, allocations: 8.031 kB / 365 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.1815, allocations: 47.53 kB / 365 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.182, allocations: 334.4 kB / 365.4 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/0.1821, allocations: 28.66 kB / 365.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.1821, allocations: 32 kB / 365.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009631/0.1831, allocations: 489.8 kB / 365.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1831, allocations: 0 / 365.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.1832, allocations: 20 kB / 365.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.1832, allocations: 8 kB / 365.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007872/0.184, allocations: 382.4 kB / 366.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.1862, allocations: 1.12 MB / 367.4 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.1874, allocations: 471.5 kB / 367.9 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.1878, allocations: 181.3 kB / 368.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.112e-05/0.1879, allocations: 4.281 kB / 368.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007467/0.1887, allocations: 363.1 kB / 368.4 MB, free: 4.078 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 4.619e-06/0.1887, allocations: 0 / 368.4 MB, free: 4.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001734/0.1904, allocations: 0.7383 MB / 369.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.1905, allocations: 114.8 kB / 369.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.191, allocations: 302.4 kB / 369.6 MB, free: 2.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.499e-05/0.1911, allocations: 45.69 kB / 369.6 MB, free: 2.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1913, allocations: 172.7 kB / 369.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1914, allocations: 75.11 kB / 369.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.1915, allocations: 12 kB / 369.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.1917, allocations: 342.8 kB / 370.2 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.1921, allocations: 188.8 kB / 370.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.1926, allocations: 244.5 kB / 370.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.193, allocations: 265.7 kB / 370.9 MB, free: 1.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.193, allocations: 0 / 370.9 MB, free: 1.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001208/0.1942, allocations: 0.6409 MB / 371.5 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/0.1943, allocations: 71.42 kB / 371.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1944, allocations: 0 / 371.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.1944, allocations: 4 kB / 371.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1946, allocations: 59.78 kB / 371.7 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1946, allocations: 4 kB / 371.7 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.1949, allocations: 55.8 kB / 371.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/0.1953, allocations: 279.7 kB / 372 MB, free: 380 kB / 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.0004557/0.1957, allocations: 297 kB / 372.3 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.1958, allocations: 31.62 kB / 372.3 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2877/0.4836, allocations: 35.28 kB / 372.3 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.4836, allocations: 3.438 kB / 372.3 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4837, allocations: 0.7812 kB / 372.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.4837, allocations: 0 / 372.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.4848, allocations: 482.7 kB / 372.8 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4848, allocations: 0.7188 kB / 372.8 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.485, allocations: 50.8 kB / 372.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.485, allocations: 1.562 kB / 372.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.76e-05/0.4851, allocations: 46.08 kB / 372.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.4851, allocations: 1.719 kB / 372.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4851, allocations: 6.938 kB / 372.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.4864, allocations: 0.6106 MB / 373.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.4868, allocations: 196.4 kB / 373.7 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4869, allocations: 16.44 kB / 373.7 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.4871, allocations: 40.91 kB / 373.8 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.4874, allocations: 84.39 kB / 373.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003868/0.4878, allocations: 281.1 kB / 374.1 MB, free: 19.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.488, allocations: 201.2 kB / 374.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.488, allocations: 0.8438 kB / 374.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.4886, allocations: 99.06 kB / 374.4 MB, free: 18.93 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.0002058/0.4888, allocations: 134.6 kB / 374.6 MB, free: 18.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.49, allocations: 0.5653 MB / 375.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.49, allocations: 0 / 375.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005632/0.4906, allocations: 365.9 kB / 375.5 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.4918, allocations: 293.7 kB / 375.8 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.4935, allocations: 0.8382 MB / 376.6 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.494, allocations: 0.804 MB / 377.4 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.4951, allocations: 358.5 kB / 377.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of SimCode: time 1.884e-06/0.4951, allocations: 2.094 kB / 377.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of Templates: time 0.02109/0.5162, allocations: 8.287 MB / 386.1 MB, free: 14.89 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlop.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.FlipFlopCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.FlipFlopCalcHelperMain.o] Error 1