Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.SingleTD.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) 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(PNlib.Examples.DisTest.SingleTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SingleTD") translateModel(PNlib.Examples.DisTest.SingleTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SingleTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.00125, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002474/0.002474, allocations: 176 kB / 16.58 MB, free: 6.859 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.558/1.558, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.235/0.235, allocations: 16.72 MB / 308.4 MB, free: 15.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003554, allocations: 12 kB / 373.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.438, allocations: 54.47 MB / 427.9 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SingleTD): time 0.001217/0.4392, allocations: 0.759 MB / 428.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006181/0.4399, allocations: 275.2 kB / 428.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.634e-05/0.44, allocations: 0 / 428.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.4402, allocations: 38.41 kB / 429 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.4404, allocations: 30.8 kB / 429 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.4405, allocations: 52.33 kB / 429 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.4407, allocations: 197.9 kB / 429.2 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.333e-05/0.4408, allocations: 23.91 kB / 429.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4409, allocations: 95.67 kB / 429.4 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.441, allocations: 46.56 kB / 429.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.441, allocations: 3.406 kB / 429.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.4411, allocations: 14.41 kB / 429.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.4412, allocations: 15.03 kB / 429.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.4412, allocations: 44.08 kB / 429.5 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.973e-05/0.4413, allocations: 52.62 kB / 429.5 MB, free: 37.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4413, allocations: 0 / 429.5 MB, free: 37.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4414, allocations: 2.844 kB / 429.5 MB, free: 37.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.4414, allocations: 3.938 kB / 429.5 MB, free: 37.55 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000458/0.4418, allocations: 423.3 kB / 429.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4419, allocations: 8.875 kB / 430 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.4419, allocations: 13.72 kB / 430 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.4421, allocations: 201.6 kB / 430.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.4421, allocations: 2.469 kB / 430.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.4421, allocations: 11.88 kB / 430.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.4424, allocations: 141 kB / 430.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4424, allocations: 3.938 kB / 430.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4424, allocations: 8.984 kB / 430.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4425, allocations: 2.594 kB / 430.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.4426, allocations: 72.62 kB / 430.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.4433, allocations: 0.8958 MB / 431.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.4435, allocations: 87.67 kB / 431.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.4436, allocations: 30.86 kB / 431.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.4436, allocations: 2.156 kB / 431.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.4438, allocations: 96.33 kB / 431.5 MB, free: 35.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.4438, allocations: 2.469 kB / 431.5 MB, free: 35.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000309/0.4441, allocations: 159.1 kB / 431.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.4441, allocations: 109 kB / 431.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.4443, allocations: 174.9 kB / 431.9 MB, free: 35.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.4443, allocations: 25.7 kB / 432 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.4444, allocations: 118.7 kB / 432.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.4444, allocations: 21.56 kB / 432.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/0.4444, allocations: 6.062 kB / 432.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.4445, allocations: 334.8 kB / 432.4 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.4446, allocations: 25.39 kB / 432.5 MB, free: 35.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.4446, allocations: 83.83 kB / 432.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.4447, allocations: 69.06 kB / 432.6 MB, free: 34.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4448, allocations: 0 / 432.6 MB, free: 34.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002403/0.445, allocations: 187.2 kB / 432.8 MB, free: 34.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.445, allocations: 31.8 kB / 432.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4451, allocations: 6.719 kB / 432.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4451, allocations: 2.562 kB / 432.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.4452, allocations: 16.45 kB / 432.9 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4452, allocations: 7.016 kB / 432.9 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.4452, allocations: 24.2 kB / 432.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.4453, allocations: 3.219 kB / 432.9 MB, free: 34.82 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.active,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,T1.firingCon,$whenCondition1,T1.enabledByInPlaces,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0001741/0.4454, allocations: 175.7 kB / 433.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.4455, allocations: 14.59 kB / 433.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.4455, allocations: 15.25 kB / 433.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4455, allocations: 0 / 433.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4455, allocations: 0 / 433.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4455, allocations: 0 / 433.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.446, allocations: 0.5016 MB / 433.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.446, allocations: 0 / 433.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.446, allocations: 9.75 kB / 433.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.446, allocations: 0 / 433.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4461, allocations: 2.75 kB / 433.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4461, allocations: 0 / 433.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4461, allocations: 7.328 kB / 433.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.4463, allocations: 309.7 kB / 433.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.4463, allocations: 92.52 kB / 434 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.4464, allocations: 7.656 kB / 434 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.4465, allocations: 9.594 kB / 434 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.4465, allocations: 16.61 kB / 434 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.4465, allocations: 3.031 kB / 434 MB, free: 33.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.01e-05/0.4466, allocations: 124 kB / 434.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4466, allocations: 0 / 434.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.4469, allocations: 24.28 kB / 434.2 MB, free: 33.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,T1.fireTime,T1.ani,T1.active,$whenCondition2,T1.firingTime,T1.delayPassed,T1.activation.active) * Number of discrete states: 2 (T1.activation.active,T1.delayPassed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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.0001122/0.447, allocations: 107 kB / 434.3 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.4473, allocations: 146.7 kB / 434.4 MB, free: 33.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4473, allocations: 0 / 434.4 MB, free: 33.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.4474, allocations: 86.02 kB / 434.5 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.4477, allocations: 9.344 kB / 434.5 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.4482, allocations: 280.7 kB / 434.8 MB, free: 33.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.4484, allocations: 0.7036 MB / 435.5 MB, free: 32.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.4484, allocations: 24.25 kB / 435.5 MB, free: 32.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4484, allocations: 3.938 kB / 435.5 MB, free: 32.65 MB / 350.1 MB Notification: Performance of Templates: time 0.003154/0.4516, allocations: 1.442 MB / 437 MB, free: 32.53 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.SingleTD.makefile make -j1 -f PNlib_PNlib.Examples.DisTest.SingleTD.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 OMCppPNlib_PNlib.Examples.DisTest.SingleTDCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.SingleTDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPNlib_PNlib.Examples.DisTest.SingleTDCalcHelperMain.o] Error 1