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.001013/0.001013, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001024/0.001024, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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.988/0.988, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.0628/0.0628, allocations: 12.65 MB / 272.6 MB, free: 0.4961 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 346.4 MB, free: 1.945 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.597e-05, allocations: 4.703 kB / 346.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SingleTC): time 0.001662/0.001697, allocations: 1.04 MB / 347.5 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006564/0.002354, allocations: 375.1 kB / 347.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.002468, allocations: 0 / 347.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.002638, allocations: 55.64 kB / 347.9 MB, free: 484 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.002905, allocations: 55.59 kB / 348 MB, free: 428 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.003172, allocations: 123.8 kB / 348.1 MB, free: 304 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.003432, allocations: 307.4 kB / 348.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.003487, allocations: 20.52 kB / 348.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.003689, allocations: 203.5 kB / 348.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.003793, allocations: 31.84 kB / 348.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.003811, allocations: 4 kB / 348.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.003934, allocations: 63.86 kB / 348.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.004008, allocations: 27.78 kB / 348.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.004044, allocations: 19.92 kB / 348.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.004218, allocations: 115.6 kB / 348.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004221, allocations: 0 / 348.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004222, allocations: 0 / 348.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004226, allocations: 0 / 348.9 MB, free: 15.52 MB / 282.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.000396/0.004622, allocations: 453.8 kB / 349.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.004658, allocations: 8.031 kB / 349.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.004714, allocations: 24.84 kB / 349.3 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.004851, allocations: 144.9 kB / 349.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.00487, allocations: 4.375 kB / 349.5 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.004882, allocations: 8.375 kB / 349.5 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.005056, allocations: 154.8 kB / 349.6 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.005064, allocations: 7.938 kB / 349.6 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.005075, allocations: 0 / 349.6 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.005083, allocations: 4 kB / 349.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.005146, allocations: 61.61 kB / 349.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.005717, allocations: 0.8351 MB / 350.5 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.005867, allocations: 76.81 kB / 350.6 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.0059, allocations: 45.52 kB / 350.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.005919, allocations: 0 / 350.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.005946, allocations: 45.38 kB / 350.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.005949, allocations: 3.984 kB / 350.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001948/0.006143, allocations: 166.6 kB / 350.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.006176, allocations: 77.11 kB / 351 MB, free: 13.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.006288, allocations: 225.2 kB / 351.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.0063, allocations: 37.64 kB / 351.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.006366, allocations: 158.7 kB / 351.4 MB, free: 12.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.006378, allocations: 19.8 kB / 351.4 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.006418, allocations: 39.36 kB / 351.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.006526, allocations: 0.4923 MB / 351.9 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.006562, allocations: 41.69 kB / 352 MB, free: 12.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.006613, allocations: 88.38 kB / 352 MB, free: 12.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.006708, allocations: 141.8 kB / 352.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00671, allocations: 0 / 352.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000161/0.006871, allocations: 164.9 kB / 352.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.00691, allocations: 31.73 kB / 352.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.006916, allocations: 4.125 kB / 352.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.006929, allocations: 4 kB / 352.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.006975, allocations: 19.92 kB / 352.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.006981, allocations: 0 / 352.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.00701, allocations: 11.89 kB / 352.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.007026, allocations: 8 kB / 352.4 MB, free: 11.58 MB / 282.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 9.549e-05/0.007121, allocations: 194.2 kB / 352.6 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.007145, allocations: 19.91 kB / 352.6 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.007318, allocations: 142.2 kB / 352.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.00732, allocations: 0 / 352.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.007323, allocations: 4 kB / 352.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.007328, allocations: 3.938 kB / 352.8 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.536e-05/0.007413, allocations: 140.6 kB / 352.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007415, allocations: 0 / 352.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.00743, allocations: 7.984 kB / 352.9 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007432, allocations: 0 / 352.9 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.00744, allocations: 4 kB / 352.9 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007441, allocations: 0 / 352.9 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.007443, allocations: 7.938 kB / 352.9 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.007544, allocations: 167.7 kB / 353.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.007555, allocations: 11.91 kB / 353.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.007568, allocations: 4 kB / 353.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.00758, allocations: 7.984 kB / 353.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.007602, allocations: 0 / 353.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.007606, allocations: 4 kB / 353.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.858e-05/0.007665, allocations: 159.9 kB / 353.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007665, allocations: 4 kB / 353.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000163/0.007828, allocations: 31.88 kB / 353.3 MB, free: 10.57 MB / 282.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.0001181/0.007946, allocations: 115.2 kB / 353.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.008158, allocations: 166.6 kB / 353.6 MB, free: 10.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.008159, allocations: 4.062 kB / 353.6 MB, free: 10.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.008198, allocations: 104.8 kB / 353.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.008335, allocations: 15.98 kB / 353.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.008726, allocations: 268 kB / 354 MB, free: 9.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.008765, allocations: 67.2 kB / 354 MB, free: 9.734 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.841e-05/0.008834, allocations: 44.38 kB / 354.1 MB, free: 9.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.008862, allocations: 20.48 kB / 354.1 MB, free: 9.672 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.008862, allocations: 0 / 354.1 MB, free: 9.672 MB / 282.7 MB Notification: Performance of Templates: time 0.002795/0.01166, allocations: 0.9572 MB / 355.1 MB, free: 8.73 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.671045689843595]