Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 93.8 kB / 16.95 MB, free: 5.953 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.001229/0.001229, allocations: 184.9 kB / 17.85 MB, free: 5.613 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.5/1.5, allocations: 223.3 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 4 kB / 301.4 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 50.42 MB / 351.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.001977/0.1246, allocations: 1.285 MB / 353.2 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005398/0.1251, allocations: 179.4 kB / 353.3 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1253, allocations: 0 / 353.3 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.1253, allocations: 3.938 kB / 353.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.1255, allocations: 15.92 kB / 353.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.1258, allocations: 43.89 kB / 353.4 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1259, allocations: 55.89 kB / 353.4 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1261, allocations: 32.33 kB / 353.5 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.1261, allocations: 23.8 kB / 353.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.1262, allocations: 23.86 kB / 353.5 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1262, allocations: 0 / 353.5 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.1262, allocations: 4 kB / 353.5 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1263, allocations: 15.92 kB / 353.5 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.1263, allocations: 41.64 kB / 353.6 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.276e-05/0.1264, allocations: 47.89 kB / 353.6 MB, free: 2.246 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1264, allocations: 0 / 353.6 MB, free: 2.246 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1264, allocations: 0 / 353.6 MB, free: 2.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1264, allocations: 0 / 353.6 MB, free: 2.246 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004891/0.1269, allocations: 371.3 kB / 354 MB, free: 1.836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.127, allocations: 12.03 kB / 354 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.127, allocations: 11.86 kB / 354 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1272, allocations: 194.9 kB / 354.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1273, allocations: 4 kB / 354.2 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1273, allocations: 12 kB / 354.2 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.1277, allocations: 188.9 kB / 354.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1277, allocations: 0 / 354.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1277, allocations: 7.953 kB / 354.4 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1277, allocations: 4 kB / 354.4 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1278, allocations: 35.98 kB / 354.5 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.1283, allocations: 365.9 kB / 354.8 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1285, allocations: 119.6 kB / 354.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.1286, allocations: 62.69 kB / 355 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1286, allocations: 8.078 kB / 355 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1286, allocations: 46.55 kB / 355 MB, free: 0.625 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.1287, allocations: 0 / 355 MB, free: 0.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003258/0.129, allocations: 133.3 kB / 355.2 MB, free: 500 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1291, allocations: 110.8 kB / 355.3 MB, free: 364 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1292, allocations: 144.7 kB / 355.4 MB, free: 212 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1292, allocations: 33.95 kB / 355.5 MB, free: 172 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.1293, allocations: 84.42 kB / 355.5 MB, free: 80 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.1293, allocations: 11.89 kB / 355.6 MB, free: 68 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.1293, allocations: 4 kB / 355.6 MB, free: 64 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1294, allocations: 314.8 kB / 355.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/0.1295, allocations: 15.98 kB / 355.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.1295, allocations: 89.38 kB / 356 MB, free: 15.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.49e-05/0.1296, allocations: 24 kB / 356 MB, free: 15.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1296, allocations: 0 / 356 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001761/0.1298, allocations: 121.6 kB / 356.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1298, allocations: 11.98 kB / 356.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1298, allocations: 4 kB / 356.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1299, allocations: 4 kB / 356.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.095e-05/0.1299, allocations: 7.938 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.1299, allocations: 4 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.13, allocations: 11.94 kB / 356.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.13, allocations: 7.984 kB / 356.2 MB, free: 15.41 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 9.094e-05/0.1301, allocations: 121.8 kB / 356.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.1302, allocations: 85.53 kB / 356.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.1303, allocations: 24.61 kB / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1303, allocations: 0 / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1303, allocations: 7.984 kB / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1303, allocations: 0 / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1305, allocations: 189.5 kB / 356.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1305, allocations: 4 kB / 356.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.1306, allocations: 7.922 kB / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1306, allocations: 4 kB / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1306, allocations: 4.469 kB / 356.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1306, allocations: 7.953 kB / 356.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1306, allocations: 4 kB / 356.6 MB, free: 14.89 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.0003909/0.131, allocations: 340.3 kB / 356.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.1311, allocations: 96.98 kB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1311, allocations: 8 kB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1312, allocations: 0 / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.1312, allocations: 7.953 kB / 357.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1313, allocations: 0 / 357.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.871e-05/0.1313, allocations: 109.8 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1313, allocations: 3.938 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1316, allocations: 16 kB / 357.2 MB, free: 14.29 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.0001023/0.1317, allocations: 103.2 kB / 357.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1319, allocations: 67.84 kB / 357.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1319, allocations: 0.6875 kB / 357.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.132, allocations: 16 kB / 357.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.1324, allocations: 50.42 kB / 357.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.1328, allocations: 252.6 kB / 357.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1331, allocations: 0.7122 MB / 358.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.1332, allocations: 11.44 kB / 358.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1332, allocations: 0 / 358.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of Templates: time 0.002163/0.1353, allocations: 0.9733 MB / 359.4 MB, free: 12.04 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2CalcHelperMain.o] Error 1