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.0009155/0.0009155, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002272, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008921/0.0008921, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002074, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9773/0.9773, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08722/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.06599/0.06599, allocations: 12.66 MB / 256.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006724/0.07272, allocations: 4.699 MB / 261.5 MB, free: 13.55 MB / 266.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 262.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.009e-05, allocations: 2.312 kB / 262.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SingleTC): time 0.001813/0.001833, allocations: 1.062 MB / 263.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006295/0.002463, allocations: 394.8 kB / 264.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.002534, allocations: 0 / 264.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.002663, allocations: 51.64 kB / 264.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.00283, allocations: 51.64 kB / 264.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.003027, allocations: 123.7 kB / 264.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.003339, allocations: 315.4 kB / 264.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.00339, allocations: 18.55 kB / 264.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.003634, allocations: 223.6 kB / 265 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.019e-05/0.003714, allocations: 31.78 kB / 265 MB, free: 10 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.00373, allocations: 8 kB / 265 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.003865, allocations: 67.92 kB / 265.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.003923, allocations: 23.8 kB / 265.1 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.00395, allocations: 15.94 kB / 265.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.004102, allocations: 91.66 kB / 265.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.004112, allocations: 0 / 265.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004112, allocations: 4 kB / 265.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.004122, allocations: 0 / 265.2 MB, free: 9.793 MB / 266.7 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.0003998/0.004521, allocations: 353.6 kB / 265.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.004551, allocations: 11.98 kB / 265.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.004603, allocations: 16.92 kB / 265.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.004734, allocations: 134.2 kB / 265.7 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.004753, allocations: 8.375 kB / 265.7 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.004767, allocations: 4.375 kB / 265.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.004944, allocations: 144.6 kB / 265.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004952, allocations: 0 / 265.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.004962, allocations: 4 kB / 265.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.004968, allocations: 7.938 kB / 265.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.309e-05/0.005022, allocations: 53.62 kB / 266 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.005437, allocations: 0.5425 MB / 266.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.00556, allocations: 75.03 kB / 266.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.005585, allocations: 34.56 kB / 266.6 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.005596, allocations: 4 kB / 266.6 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.005618, allocations: 34.69 kB / 266.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.005619, allocations: 0 / 266.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001513/0.005771, allocations: 150.7 kB / 266.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.005794, allocations: 55.52 kB / 266.8 MB, free: 7.988 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.005892, allocations: 171.2 kB / 267 MB, free: 7.809 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.005901, allocations: 25.7 kB / 267 MB, free: 7.777 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.00595, allocations: 115.9 kB / 267.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.005964, allocations: 19.84 kB / 267.2 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.006006, allocations: 33.69 kB / 267.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.006087, allocations: 326.8 kB / 267.5 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.00618, allocations: 37.69 kB / 267.6 MB, free: 7.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.006233, allocations: 81.91 kB / 267.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.375e-05/0.006316, allocations: 122.4 kB / 267.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.006319, allocations: 0 / 267.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001395/0.006458, allocations: 144.9 kB / 267.9 MB, free: 6.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.00649, allocations: 33.7 kB / 267.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006494, allocations: 80 / 267.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.006507, allocations: 4 kB / 267.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.006562, allocations: 15.98 kB / 267.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.006566, allocations: 7.922 kB / 268 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.006599, allocations: 7.953 kB / 268 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.006611, allocations: 8 kB / 268 MB, free: 6.738 MB / 266.7 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 7.683e-05/0.006688, allocations: 154.4 kB / 268.1 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.00671, allocations: 4 kB / 268.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.006834, allocations: 143.3 kB / 268.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006835, allocations: 0 / 268.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.006837, allocations: 0 / 268.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.006839, allocations: 0 / 268.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.042e-05/0.00692, allocations: 93.73 kB / 268.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006921, allocations: 0 / 268.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.006934, allocations: 4 kB / 268.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.006945, allocations: 11.89 kB / 268.4 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.006947, allocations: 4 kB / 268.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.006952, allocations: 7.938 kB / 268.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.006954, allocations: 0 / 268.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006954, allocations: 0 / 268.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.385e-05/0.007048, allocations: 148.7 kB / 268.5 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.007062, allocations: 0 / 268.5 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.476e-05/0.007077, allocations: 0 / 268.5 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.007094, allocations: 7.938 kB / 268.5 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.007099, allocations: 3.984 kB / 268.5 MB, free: 6.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.932e-05/0.007138, allocations: 40.83 kB / 268.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007138, allocations: 0 / 268.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000172/0.00731, allocations: 27.92 kB / 268.6 MB, free: 6.008 MB / 266.7 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.0001144/0.007424, allocations: 104.4 kB / 268.7 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.00755, allocations: 155.6 kB / 268.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.007555, allocations: 4 kB / 268.9 MB, free: 5.711 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.007602, allocations: 101.9 kB / 269 MB, free: 5.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.007725, allocations: 79.33 kB / 269 MB, free: 5.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.008116, allocations: 273 kB / 269.3 MB, free: 5.199 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.27e-05/0.008149, allocations: 63.72 kB / 269.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.23e-05/0.008211, allocations: 36.39 kB / 269.4 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.008271, allocations: 71.36 kB / 269.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008272, allocations: 0 / 269.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of Templates: time 0.00265/0.01092, allocations: 0.9731 MB / 270.5 MB, free: 4.047 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.SingleTC.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.ConTest.SingleTC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.SingleTC.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.552853610366583]