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.0008254/0.0008254, allocations: 84.14 kB / 17.58 MB, free: 5.758 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.0009025/0.0009026, allocations: 190.4 kB / 18.48 MB, free: 5.203 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.58/1.58, 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.0004269/0.000427, allocations: 8 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08729, allocations: 47.59 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.001835/0.08917, allocations: 1.728 MB / 330.7 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.09113, allocations: 1.097 MB / 331.8 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.231e-05/0.09124, allocations: 7.938 kB / 331.8 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.09141, allocations: 31.77 kB / 331.8 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.947e-05/0.09151, allocations: 31.72 kB / 331.9 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.0919, allocations: 111.9 kB / 332 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.09229, allocations: 399.6 kB / 332.4 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.09253, allocations: 127.8 kB / 332.5 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007536/0.09329, allocations: 0.6785 MB / 333.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.09358, allocations: 251.4 kB / 333.4 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.09365, allocations: 16 kB / 333.4 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.09371, allocations: 8 kB / 333.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.09388, allocations: 123.7 kB / 333.6 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.09397, allocations: 89.52 kB / 333.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.09454, allocations: 0.7714 MB / 334.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.09456, allocations: 0 / 334.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09456, allocations: 3.938 kB / 334.4 MB, free: 14.58 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.09458, allocations: 0 / 334.4 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.0009502/0.09553, allocations: 0.7244 MB / 335.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.09557, allocations: 12.03 kB / 335.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.09568, allocations: 51.42 kB / 335.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.09611, allocations: 346.2 kB / 335.6 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.09615, allocations: 20.66 kB / 335.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.09623, allocations: 36 kB / 335.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.09704, allocations: 489.8 kB / 336.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.09706, allocations: 4 kB / 336.1 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.09712, allocations: 12 kB / 336.1 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.09714, allocations: 8 kB / 336.1 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006887/0.09784, allocations: 390.3 kB / 336.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.09947, allocations: 1.112 MB / 337.6 MB, free: 11.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009546/0.1004, allocations: 474.9 kB / 338.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.1008, allocations: 181.3 kB / 338.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.476e-05/0.1008, allocations: 4.281 kB / 338.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005496/0.1014, allocations: 359.1 kB / 338.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.1014, allocations: 0 / 338.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001398/0.1028, allocations: 0.7384 MB / 339.3 MB, free: 9.469 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.1029, allocations: 110.8 kB / 339.5 MB, free: 9.336 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1032, allocations: 306.4 kB / 339.8 MB, free: 9.027 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.1032, allocations: 37.7 kB / 339.8 MB, free: 8.984 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1033, allocations: 172.7 kB / 340 MB, free: 8.809 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.056e-05/0.1034, allocations: 83.05 kB / 340 MB, free: 8.727 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.1035, allocations: 8 kB / 340 MB, free: 8.719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1036, allocations: 338.8 kB / 340.4 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.104, allocations: 192.8 kB / 340.6 MB, free: 8.191 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.1043, allocations: 240.5 kB / 340.8 MB, free: 7.941 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.1048, allocations: 259.3 kB / 341.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1048, allocations: 0 / 341.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001017/0.1059, allocations: 0.6604 MB / 341.7 MB, free: 6.996 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.1059, allocations: 63.41 kB / 341.8 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1059, allocations: 0 / 341.8 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.106, allocations: 4 kB / 341.8 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.1061, allocations: 59.89 kB / 341.8 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1061, allocations: 0 / 341.8 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.1064, allocations: 59.77 kB / 341.9 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.1067, allocations: 279.7 kB / 342.2 MB, free: 6.527 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,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.0003668/0.107, allocations: 289.1 kB / 342.5 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.1071, allocations: 35.62 kB / 342.5 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.409e-05/0.1072, allocations: 34.95 kB / 342.5 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1072, allocations: 4 kB / 342.5 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.1072, allocations: 0 / 342.5 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1072, allocations: 11.92 kB / 342.5 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.1078, allocations: 481.1 kB / 343 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1078, allocations: 0 / 343 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1079, allocations: 55.89 kB / 343.1 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1079, allocations: 3.984 kB / 343.1 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.108, allocations: 43.98 kB / 343.1 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.108, allocations: 0 / 343.1 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.108, allocations: 3.984 kB / 343.1 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009248/0.1089, allocations: 0.614 MB / 343.7 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.1092, allocations: 196.7 kB / 343.9 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.1093, allocations: 12 kB / 343.9 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.1095, allocations: 47.75 kB / 344 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.1097, allocations: 95.84 kB / 344.1 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/0.11, allocations: 279.7 kB / 344.3 MB, free: 4.234 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.1102, allocations: 201.9 kB / 344.5 MB, free: 4.039 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1102, allocations: 0 / 344.5 MB, free: 4.039 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.1105, allocations: 99.84 kB / 344.6 MB, free: 3.941 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 (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.0002128/0.1108, allocations: 133.8 kB / 344.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008954/0.1117, allocations: 0.5608 MB / 345.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1117, allocations: 0 / 345.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.1122, allocations: 362.6 kB / 345.7 MB, free: 2.84 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.1132, allocations: 284.6 kB / 346 MB, free: 2.562 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1145, allocations: 0.8364 MB / 346.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1148, allocations: 0.8111 MB / 347.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008985/0.1157, allocations: 362.5 kB / 348 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1157, allocations: 4 kB / 348 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of Templates: time 0.009575/0.1253, allocations: 8.278 MB / 356.2 MB, free: 7.852 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++ 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.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