Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007078/0.0007078, allocations: 94.42 kB / 16.33 MB, free: 5.949 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.000731/0.000731, allocations: 185.7 kB / 17.22 MB, free: 5.883 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.226/1.226, allocations: 205.4 MB / 223.4 MB, free: 5.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3062/0.3062, allocations: 43.53 MB / 315.2 MB, free: 8.918 MB / 254.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.0004972/0.0004972, allocations: 12 kB / 384.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.001626/0.1109, allocations: 1.3 MB / 444.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006928/0.1116, allocations: 0.4922 MB / 445.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.1117, allocations: 0 / 445.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.254e-05/0.1118, allocations: 3.938 kB / 445.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.1119, allocations: 11.92 kB / 445.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.112, allocations: 35.91 kB / 445.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1121, allocations: 71.77 kB / 445.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1123, allocations: 28.2 kB / 445.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.278e-05/0.1123, allocations: 11.94 kB / 445.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.092e-05/0.1124, allocations: 35.83 kB / 445.4 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1124, allocations: 4 kB / 445.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.1124, allocations: 3.938 kB / 445.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1124, allocations: 4 kB / 445.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1125, allocations: 41.64 kB / 445.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.167e-05/0.1126, allocations: 56.11 kB / 445.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1126, allocations: 0 / 445.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1126, allocations: 3.938 kB / 445.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1126, allocations: 0 / 445.5 MB, free: 10.94 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004579/0.1131, allocations: 371 kB / 445.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1131, allocations: 8.031 kB / 445.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.1131, allocations: 19.86 kB / 445.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1133, allocations: 186.9 kB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1134, allocations: 8 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.1134, allocations: 11.98 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1135, allocations: 69.67 kB / 446.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1135, allocations: 0 / 446.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1136, allocations: 7.984 kB / 446.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1136, allocations: 0 / 446.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.032e-05/0.1137, allocations: 43.88 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.1142, allocations: 364.6 kB / 446.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.496e-05/0.1143, allocations: 42.52 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.1143, allocations: 20.92 kB / 446.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.1143, allocations: 4 kB / 446.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.1145, allocations: 67.39 kB / 446.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1145, allocations: 0 / 446.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001831/0.1147, allocations: 85.77 kB / 446.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.1147, allocations: 55.41 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.1149, allocations: 145.1 kB / 447 MB, free: 9.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1149, allocations: 33.7 kB / 447 MB, free: 9.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.1149, allocations: 100.1 kB / 447.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.115, allocations: 19.69 kB / 447.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.115, allocations: 8 kB / 447.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1151, allocations: 318.8 kB / 447.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.1151, allocations: 15.98 kB / 447.5 MB, free: 8.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.1152, allocations: 38.56 kB / 447.5 MB, free: 8.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.666e-05/0.1152, allocations: 20.06 kB / 447.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1152, allocations: 4 kB / 447.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001191/0.1154, allocations: 85.53 kB / 447.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1154, allocations: 7.938 kB / 447.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1154, allocations: 3.938 kB / 447.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1154, allocations: 4 kB / 447.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.1155, allocations: 4 kB / 447.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1155, allocations: 4 kB / 447.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.1155, allocations: 12.05 kB / 447.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1156, allocations: 4 kB / 447.6 MB, free: 8.566 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,integrator.reset,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.fallingEdge.not_u,fallingEdge.not_u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.25e-05/0.1157, allocations: 129.7 kB / 447.8 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.1157, allocations: 7.906 kB / 447.8 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.1157, allocations: 16.7 kB / 447.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1157, allocations: 0 / 447.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1157, allocations: 0 / 447.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1157, allocations: 0 / 447.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.116, allocations: 358.4 kB / 448.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1161, allocations: 0 / 448.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.1161, allocations: 4 kB / 448.2 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1161, allocations: 0 / 448.2 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1161, allocations: 0 / 448.2 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1161, allocations: 0 / 448.2 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1161, allocations: 0 / 448.2 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.1163, allocations: 195.3 kB / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.1164, allocations: 85.08 kB / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1164, allocations: 12 kB / 448.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.1165, allocations: 8 kB / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1166, allocations: 7.984 kB / 448.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1166, allocations: 192 / 448.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.298e-05/0.1166, allocations: 107.2 kB / 448.6 MB, free: 7.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1166, allocations: 3.938 kB / 448.6 MB, free: 7.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1169, allocations: 16 kB / 448.6 MB, free: 7.539 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,fallingEdge.not_u) * Number of discrete states: 1 (fallingEdge.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 9.616e-05/0.117, allocations: 99.25 kB / 448.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.1171, allocations: 47.91 kB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1171, allocations: 0 / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.636e-05/0.1172, allocations: 27.92 kB / 448.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.1174, allocations: 15.95 kB / 448.8 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.1179, allocations: 282.7 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.1182, allocations: 0.6926 MB / 449.7 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.1182, allocations: 15.44 kB / 449.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1182, allocations: 0 / 449.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of Templates: time 0.002199/0.1204, allocations: 1.125 MB / 450.9 MB, free: 5.176 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.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 OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegratorCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegratorCalcHelperMain.o] Error 1