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.002113/0.002113, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00242/0.00242, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.781 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.08579/0.08579, allocations: 16.95 MB / 329.4 MB, free: 2.059 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.00212/0.00212, allocations: 67.91 kB / 460.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09937, allocations: 57.63 MB / 0.5057 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SingleTC): time 0.002203/0.1016, allocations: 1.005 MB / 0.5066 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008172/0.1024, allocations: 383.1 kB / 0.507 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.1025, allocations: 4 kB / 0.507 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.1026, allocations: 47.64 kB / 0.5071 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.1029, allocations: 47.72 kB / 0.5071 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1031, allocations: 135.7 kB / 0.5072 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.1035, allocations: 307.4 kB / 0.5075 GB, free: 6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.1035, allocations: 8.594 kB / 0.5075 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1037, allocations: 151.6 kB / 0.5077 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.1038, allocations: 55.52 kB / 0.5077 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1038, allocations: 4 kB / 0.5077 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.104, allocations: 59.88 kB / 0.5078 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.104, allocations: 27.84 kB / 0.5078 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.1041, allocations: 27.75 kB / 0.5078 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1043, allocations: 111.6 kB / 0.508 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1043, allocations: 4 kB / 0.508 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1043, allocations: 0 / 0.508 GB, free: 5.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1043, allocations: 0 / 0.508 GB, free: 5.559 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.0004969/0.1048, allocations: 367.3 kB / 0.5083 GB, free: 5.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.1048, allocations: 15.97 kB / 0.5083 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.1048, allocations: 12.84 kB / 0.5083 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.105, allocations: 138.9 kB / 0.5085 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1051, allocations: 8.375 kB / 0.5085 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1051, allocations: 7.938 kB / 0.5085 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.1053, allocations: 139.6 kB / 0.5086 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1053, allocations: 0 / 0.5086 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1053, allocations: 4 kB / 0.5086 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1053, allocations: 4 kB / 0.5086 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1054, allocations: 73.61 kB / 0.5087 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.1061, allocations: 0.6064 MB / 0.5093 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1063, allocations: 76.33 kB / 0.5094 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.1064, allocations: 50.67 kB / 0.5094 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1064, allocations: 0 / 0.5094 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1064, allocations: 38.5 kB / 0.5094 GB, free: 3.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.1064, allocations: 0 / 0.5094 GB, free: 3.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002967/0.1067, allocations: 174.7 kB / 0.5096 GB, free: 3.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.1068, allocations: 85.03 kB / 0.5097 GB, free: 3.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.107, allocations: 171.2 kB / 0.5099 GB, free: 3.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.107, allocations: 25.7 kB / 0.5099 GB, free: 3.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.1071, allocations: 115.9 kB / 0.51 GB, free: 3.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.1071, allocations: 15.91 kB / 0.51 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.1071, allocations: 33.7 kB / 0.51 GB, free: 3.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1073, allocations: 322.8 kB / 0.5103 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-05/0.1074, allocations: 53.73 kB / 0.5104 GB, free: 2.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.1074, allocations: 85.91 kB / 0.5105 GB, free: 2.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1076, allocations: 131.6 kB / 0.5106 GB, free: 2.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1076, allocations: 0 / 0.5106 GB, free: 2.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002417/0.1078, allocations: 168.9 kB / 0.5108 GB, free: 2.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.1079, allocations: 29.7 kB / 0.5108 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1079, allocations: 7.938 kB / 0.5108 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.1079, allocations: 7.922 kB / 0.5108 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/0.108, allocations: 16.11 kB / 0.5108 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.108, allocations: 4 kB / 0.5108 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.108, allocations: 11.94 kB / 0.5108 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.108, allocations: 4 kB / 0.5108 GB, free: 2.27 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.0001317/0.1082, allocations: 159.5 kB / 0.511 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.1082, allocations: 15.84 kB / 0.511 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.1084, allocations: 143.3 kB / 0.5111 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.1084, allocations: 7.938 kB / 0.5112 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1084, allocations: 256 / 0.5112 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1084, allocations: 0 / 0.5112 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.1086, allocations: 137.3 kB / 0.5113 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1086, allocations: 7.984 kB / 0.5113 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.1086, allocations: 4 kB / 0.5113 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1086, allocations: 0 / 0.5113 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1086, allocations: 0 / 0.5113 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1086, allocations: 0 / 0.5113 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1086, allocations: 3.938 kB / 0.5113 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.1088, allocations: 164.4 kB / 0.5115 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.1088, allocations: 11.88 kB / 0.5115 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1088, allocations: 8 kB / 0.5115 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.1089, allocations: 0 / 0.5115 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.1089, allocations: 11.94 kB / 0.5115 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.1089, allocations: 0 / 0.5115 GB, free: 1.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.109, allocations: 127.2 kB / 0.5116 GB, free: 1.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.109, allocations: 0 / 0.5116 GB, free: 1.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1092, allocations: 23.98 kB / 0.5116 GB, free: 1.355 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.0001324/0.1094, allocations: 111.8 kB / 0.5117 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.1096, allocations: 162.7 kB / 0.5119 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1096, allocations: 0 / 0.5119 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1097, allocations: 105 kB / 0.512 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.1099, allocations: 16.25 kB / 0.512 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.1103, allocations: 267.1 kB / 0.5123 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.814e-05/0.1104, allocations: 88.14 kB / 0.5123 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.1105, allocations: 40.33 kB / 0.5124 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1106, allocations: 19.42 kB / 0.5124 GB, free: 468 kB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1106, allocations: 0 / 0.5124 GB, free: 468 kB / 382.1 MB Notification: Performance of Templates: time 0.1738/0.2844, allocations: 0.9086 MB / 0.5133 GB, free: 15.75 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/jenkins/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: 4.653249578550458]