Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007927/0.0007929, allocations: 95.62 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008981/0.0008982, allocations: 201 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002459/0.0002462, allocations: 4 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 51.48 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.001887/0.1246, allocations: 1.305 MB / 360.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003968/0.125, allocations: 179.4 kB / 360.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.962e-05/0.1251, allocations: 4 kB / 360.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.1252, allocations: 7.875 kB / 360.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.1253, allocations: 7.922 kB / 360.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1256, allocations: 39.91 kB / 360.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.1257, allocations: 55.84 kB / 360.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1258, allocations: 40.36 kB / 360.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.374e-05/0.1259, allocations: 7.938 kB / 360.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.1259, allocations: 27.84 kB / 360.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.126, allocations: 4 kB / 360.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.126, allocations: 0 / 360.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.126, allocations: 11.94 kB / 360.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.1261, allocations: 37.64 kB / 360.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.574e-05/0.1262, allocations: 51.88 kB / 360.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1262, allocations: 8 kB / 360.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1262, allocations: 0 / 360.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1262, allocations: 0 / 360.6 MB, free: 12.32 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004523/0.1266, allocations: 371.3 kB / 360.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1267, allocations: 8.031 kB / 360.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.1267, allocations: 7.906 kB / 361 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.127, allocations: 194.8 kB / 361.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.127, allocations: 8 kB / 361.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.127, allocations: 7.953 kB / 361.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.1274, allocations: 189.4 kB / 361.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1274, allocations: 0 / 361.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1274, allocations: 4 kB / 361.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1274, allocations: 4 kB / 361.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1275, allocations: 43.91 kB / 361.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.128, allocations: 369.9 kB / 361.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1281, allocations: 115.6 kB / 361.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1283, allocations: 70.81 kB / 361.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1283, allocations: 3.938 kB / 361.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1283, allocations: 38.56 kB / 362 MB, free: 10.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1283, allocations: 0 / 362 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003181/0.1287, allocations: 137.3 kB / 362.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.1287, allocations: 110.8 kB / 362.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1289, allocations: 140.3 kB / 362.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1289, allocations: 29.7 kB / 362.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.129, allocations: 88.67 kB / 362.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.129, allocations: 7.906 kB / 362.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.129, allocations: 4 kB / 362.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1291, allocations: 322.8 kB / 362.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.1292, allocations: 11.98 kB / 362.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.776e-05/0.1293, allocations: 89.38 kB / 362.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.9e-05/0.1294, allocations: 28 kB / 362.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1294, allocations: 0 / 362.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001729/0.1295, allocations: 113.3 kB / 363 MB, free: 9.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1296, allocations: 7.984 kB / 363 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1296, allocations: 8.328 kB / 363.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1296, allocations: 11.94 kB / 363.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.411e-05/0.1296, allocations: 11.94 kB / 363.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1297, allocations: 4 kB / 363.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.1297, allocations: 7.938 kB / 363.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1297, allocations: 4 kB / 363.1 MB, free: 9.488 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (step.y,xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,sample2.y,hold1.u,hold1.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.000103/0.1298, allocations: 137.7 kB / 363.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.13, allocations: 77.59 kB / 363.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.13, allocations: 25.17 kB / 363.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.13, allocations: 8 kB / 363.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1301, allocations: 0 / 363.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1301, allocations: 3.984 kB / 363.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1303, allocations: 193.4 kB / 363.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1303, allocations: 3.938 kB / 363.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.1303, allocations: 4 kB / 363.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1303, allocations: 4 kB / 363.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1303, allocations: 3.984 kB / 363.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1304, allocations: 4 kB / 363.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1304, allocations: 0 / 363.5 MB, free: 8.969 MB / 302.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y equations: xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.1307, allocations: 344.4 kB / 363.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.1308, allocations: 101 kB / 364 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1308, allocations: 4 kB / 364 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.1309, allocations: 3.984 kB / 364 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.131, allocations: 4 kB / 364 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.131, allocations: 8 kB / 364 MB, free: 8.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.457e-05/0.1311, allocations: 101.8 kB / 364.1 MB, free: 8.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1311, allocations: 0 / 364.1 MB, free: 8.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1314, allocations: 12 kB / 364.1 MB, free: 8.363 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (step.y,hold1.y,sample1.y,hold1.u,sample2.y,integerConstant.y,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001237/0.1315, allocations: 107.2 kB / 364.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1317, allocations: 67.8 kB / 364.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1317, allocations: 0 / 364.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.1317, allocations: 12.73 kB / 364.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.1322, allocations: 52.02 kB / 364.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.1326, allocations: 260.7 kB / 364.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1328, allocations: 0.7083 MB / 365.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.1329, allocations: 11.44 kB / 365.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1329, allocations: 0 / 365.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of Templates: time 0.002627/0.1355, allocations: 0.9767 MB / 366.3 MB, free: 6.102 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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.Clocked.Examples.Elementary.BooleanSignals.Sample2CalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2CalcHelperMain.o] Error 1