Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 93.42 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.001227/0.001227, allocations: 181.5 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.544/1.544, allocations: 223.2 MB / 241.9 MB, free: 264 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 8.812 kB / 301.4 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 50.43 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001678/0.1352, allocations: 1.116 MB / 353 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001934/0.1354, allocations: 39.84 kB / 353 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.1354, allocations: 0 / 353 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.1355, allocations: 0 / 353 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.1355, allocations: 7.938 kB / 353 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1358, allocations: 15.97 kB / 353.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.165e-05/0.1359, allocations: 27.92 kB / 353.1 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.136, allocations: 4 kB / 353.1 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.136, allocations: 11.98 kB / 353.1 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.1361, allocations: 15.88 kB / 353.1 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1361, allocations: 3.984 kB / 353.1 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.1361, allocations: 0 / 353.1 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.1362, allocations: 7.984 kB / 353.1 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.1362, allocations: 33.64 kB / 353.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.148e-05/0.1363, allocations: 15.97 kB / 353.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1363, allocations: 0 / 353.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1363, allocations: 0 / 353.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1363, allocations: 0 / 353.2 MB, free: 2.695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000459/0.1368, allocations: 343.5 kB / 353.5 MB, free: 2.312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1368, allocations: 8.031 kB / 353.5 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.1368, allocations: 7.953 kB / 353.5 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.137, allocations: 175 kB / 353.7 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1371, allocations: 0 / 353.7 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.1371, allocations: 4 kB / 353.7 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.1374, allocations: 123.2 kB / 353.8 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1374, allocations: 4 kB / 353.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1375, allocations: 0 / 353.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1375, allocations: 0 / 353.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.1376, allocations: 27.94 kB / 353.8 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.1378, allocations: 157.7 kB / 354 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1379, allocations: 46.56 kB / 354 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/0.138, allocations: 24.92 kB / 354.1 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.138, allocations: 0 / 354.1 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.138, allocations: 42.5 kB / 354.1 MB, free: 1.582 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.138, allocations: 0 / 354.1 MB, free: 1.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002491/0.1383, allocations: 81.59 kB / 354.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.1384, allocations: 51.41 kB / 354.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.1385, allocations: 109.8 kB / 354.4 MB, free: 1.316 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1385, allocations: 29.64 kB / 354.4 MB, free: 1.281 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.1385, allocations: 80.14 kB / 354.5 MB, free: 1.199 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1386, allocations: 11.91 kB / 354.5 MB, free: 1.188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.1386, allocations: 0 / 354.5 MB, free: 1.188 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1387, allocations: 318.8 kB / 354.8 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.1387, allocations: 4 kB / 354.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/0.1387, allocations: 31.38 kB / 354.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.1388, allocations: 12 kB / 354.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1388, allocations: 0 / 354.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.432e-05/0.1389, allocations: 61.62 kB / 354.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1389, allocations: 4 kB / 354.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1389, allocations: 0 / 354.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1389, allocations: 4 kB / 354.9 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.139, allocations: 7.938 kB / 354.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.139, allocations: 3.984 kB / 354.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.139, allocations: 128 / 354.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.139, allocations: 11.95 kB / 354.9 MB, free: 0.7109 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.677e-05/0.1391, allocations: 113.8 kB / 355 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.1393, allocations: 61.95 kB / 355.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.1393, allocations: 7.5 kB / 355.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1393, allocations: 0 / 355.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1393, allocations: 4 kB / 355.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1393, allocations: 4 kB / 355.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.772e-05/0.1394, allocations: 161.6 kB / 355.3 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1394, allocations: 240 / 355.3 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.1395, allocations: 7.938 kB / 355.3 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1395, allocations: 4 kB / 355.3 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1395, allocations: 0 / 355.3 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1395, allocations: 0 / 355.3 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1395, allocations: 3.984 kB / 355.3 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.1397, allocations: 89.06 kB / 355.4 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.1397, allocations: 88.89 kB / 355.5 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1398, allocations: 3.984 kB / 355.5 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.1398, allocations: 8 kB / 355.5 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.1398, allocations: 0 / 355.5 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1398, allocations: 3.938 kB / 355.5 MB, free: 52 kB / 286.1 MB Notification: Performance of sorting global known variables: time 5.983e-05/0.1399, allocations: 83.28 kB / 355.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1399, allocations: 0 / 355.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001791/0.1401, allocations: 4 kB / 355.6 MB, free: 15.96 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001184/0.1402, allocations: 115.2 kB / 355.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1403, allocations: 27.98 kB / 355.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1403, allocations: 0 / 355.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-07/0.1403, allocations: 0 / 355.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.1406, allocations: 35.91 kB / 355.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.1409, allocations: 141.8 kB / 355.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1412, allocations: 0.677 MB / 356.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.1412, allocations: 11.69 kB / 356.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1412, allocations: 4 kB / 356.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Templates: time 0.001929/0.1432, allocations: 0.5861 MB / 357.1 MB, free: 14.3 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStepCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStepCalcHelperMain.o] Error 1