Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.SingleTC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 217.8 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08022/0.08022, allocations: 16.95 MB / 330.1 MB, free: 2.348 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.SingleTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SingleTC") translateModel(PNlib.Examples.ConTest.SingleTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SingleTC") [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 71.88 kB / 461 MB, free: 1.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1098, allocations: 57.64 MB / 0.5065 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SingleTC): time 0.00246/0.1123, allocations: 1.061 MB / 0.5075 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00092/0.1132, allocations: 391.1 kB / 0.5079 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1133, allocations: 8 kB / 0.5079 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.1135, allocations: 51.64 kB / 0.508 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.1138, allocations: 47.66 kB / 0.508 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1141, allocations: 131.8 kB / 0.5081 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.1144, allocations: 307.3 kB / 0.5084 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.1145, allocations: 12.59 kB / 0.5084 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1147, allocations: 151.6 kB / 0.5086 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.79e-05/0.1148, allocations: 51.53 kB / 0.5086 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1148, allocations: 4 kB / 0.5086 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.1149, allocations: 71.88 kB / 0.5087 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.115, allocations: 31.73 kB / 0.5087 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.1151, allocations: 31.73 kB / 0.5088 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1153, allocations: 115.5 kB / 0.5089 GB, free: 5.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1153, allocations: 0 / 0.5089 GB, free: 5.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1153, allocations: 0 / 0.5089 GB, free: 5.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1153, allocations: 0 / 0.5089 GB, free: 5.625 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005222/0.1158, allocations: 363.4 kB / 0.5092 GB, free: 5.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1158, allocations: 8.031 kB / 0.5092 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.1159, allocations: 12.84 kB / 0.5092 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1161, allocations: 148.6 kB / 0.5094 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1161, allocations: 4.375 kB / 0.5094 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1161, allocations: 23.91 kB / 0.5094 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1163, allocations: 101.9 kB / 0.5095 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1163, allocations: 4 kB / 0.5095 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1164, allocations: 0 / 0.5095 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1164, allocations: 0 / 0.5095 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1165, allocations: 51.91 kB / 0.5096 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.1172, allocations: 0.6409 MB / 0.5102 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1174, allocations: 54.56 kB / 0.5102 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.1175, allocations: 16.98 kB / 0.5102 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.1175, allocations: 0 / 0.5102 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1175, allocations: 34.55 kB / 0.5103 GB, free: 4.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1175, allocations: 0 / 0.5103 GB, free: 4.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002647/0.1178, allocations: 115.4 kB / 0.5104 GB, free: 3.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1178, allocations: 85.05 kB / 0.5105 GB, free: 3.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.118, allocations: 174.2 kB / 0.5106 GB, free: 3.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.118, allocations: 33.7 kB / 0.5107 GB, free: 3.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.484e-05/0.1181, allocations: 119.9 kB / 0.5108 GB, free: 3.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1181, allocations: 19.86 kB / 0.5108 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.1182, allocations: 29.7 kB / 0.5108 GB, free: 3.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1183, allocations: 322.8 kB / 0.5111 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.1184, allocations: 19.98 kB / 0.5112 GB, free: 3.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.1185, allocations: 52.28 kB / 0.5112 GB, free: 2.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1186, allocations: 127.6 kB / 0.5113 GB, free: 2.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1186, allocations: 0 / 0.5113 GB, free: 2.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002133/0.1188, allocations: 143.2 kB / 0.5115 GB, free: 2.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.1188, allocations: 33.7 kB / 0.5115 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1189, allocations: 0 / 0.5115 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1189, allocations: 3.938 kB / 0.5115 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.851e-05/0.1189, allocations: 15.98 kB / 0.5115 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1189, allocations: 4 kB / 0.5115 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.119, allocations: 15.83 kB / 0.5115 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.119, allocations: 8 kB / 0.5115 GB, free: 2.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (T1.firingCon,T1.fire_,T1.activation.NoTokens,T1.activation.active,T1.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.1191, allocations: 155.6 kB / 0.5117 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.1192, allocations: 11.91 kB / 0.5117 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.1194, allocations: 121.6 kB / 0.5118 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1194, allocations: 4 kB / 0.5118 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1194, allocations: 0 / 0.5118 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1194, allocations: 0 / 0.5118 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.1196, allocations: 164.7 kB / 0.512 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1196, allocations: 256 / 0.512 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.1196, allocations: 8 kB / 0.512 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1196, allocations: 0 / 0.512 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1196, allocations: 19.81 kB / 0.512 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1196, allocations: 0 / 0.512 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1196, allocations: 0 / 0.512 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.1198, allocations: 130.7 kB / 0.5121 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.1198, allocations: 7.938 kB / 0.5121 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1198, allocations: 7.938 kB / 0.5121 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.1198, allocations: 0 / 0.5121 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1198, allocations: 4 kB / 0.5122 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1198, allocations: 4 kB / 0.5122 GB, free: 1.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.12, allocations: 131.8 kB / 0.5123 GB, free: 1.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.12, allocations: 4 kB / 0.5123 GB, free: 1.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1202, allocations: 23.94 kB / 0.5123 GB, free: 1.711 MB / 382.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: 3 (T1.fire,T1.activation.active,T1.activation.NoTokens) * Number of discrete states: 2 (T1.activation.active,T1.activation.NoTokens) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001634/0.1204, allocations: 115.9 kB / 0.5124 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1205, allocations: 103.3 kB / 0.5125 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1205, allocations: 0 / 0.5125 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.1206, allocations: 79.58 kB / 0.5126 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1209, allocations: 11.98 kB / 0.5126 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.1214, allocations: 255.1 kB / 0.5128 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1218, allocations: 0.7002 MB / 0.5135 GB, free: 372 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.1218, allocations: 39.34 kB / 0.5136 GB, free: 336 kB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1218, allocations: 0 / 0.5136 GB, free: 336 kB / 382.1 MB Notification: Performance of Templates: time 0.1901/0.3119, allocations: 1.353 MB / 0.5149 GB, free: 15.24 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ConTest.SingleTC.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.ConTest.SingleTC.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.SingleTC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.SingleTC.pipe >> ../files/PNlib_PNlib.Examples.ConTest.SingleTC.sim & ./PNlib_PNlib.Examples.ConTest.SingleTC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.SingleTC.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.ConTest.SingleTC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.SingleTC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.SingleTC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.190302594099194]