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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 108.8 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 190.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 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.1717/0.1717, allocations: 16.73 MB / 314.6 MB, free: 14.87 MB / 254.1 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.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.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 0.00186/0.00186, allocations: 73.95 kB / 435.7 MB, free: 37.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08528/0.08715, allocations: 53.48 MB / 489.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SingleTC): time 0.001954/0.08913, allocations: 1.058 MB / 490.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.08999, allocations: 397.6 kB / 490.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.09017, allocations: 2.656 kB / 490.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.09036, allocations: 46.56 kB / 490.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.09066, allocations: 43.75 kB / 490.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.09095, allocations: 119.2 kB / 490.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.09132, allocations: 315.4 kB / 491.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.355e-05/0.09139, allocations: 24.89 kB / 491.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.09156, allocations: 148.4 kB / 491.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.09165, allocations: 50.64 kB / 491.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.09168, allocations: 2.875 kB / 491.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.09182, allocations: 56.36 kB / 491.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.09191, allocations: 24.03 kB / 491.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.09196, allocations: 38.16 kB / 491.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.09219, allocations: 115.3 kB / 491.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.0922, allocations: 4 kB / 491.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09221, allocations: 3.938 kB / 491.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.09222, allocations: 0 / 491.6 MB, free: 8.465 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004166/0.09264, allocations: 433.6 kB / 492 MB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.09268, allocations: 12.52 kB / 492 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.09274, allocations: 14.72 kB / 492 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.0929, allocations: 197.5 kB / 492.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.09293, allocations: 7 kB / 492.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.09295, allocations: 9.562 kB / 492.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.09312, allocations: 110.3 kB / 492.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.09314, allocations: 0 / 492.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.09316, allocations: 4.969 kB / 492.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.09317, allocations: 2.188 kB / 492.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.438e-05/0.09327, allocations: 51.81 kB / 492.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.09385, allocations: 0.8209 MB / 493.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.09402, allocations: 50.31 kB / 493.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.09406, allocations: 20.08 kB / 493.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.09409, allocations: 5.188 kB / 493.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.0941, allocations: 35.44 kB / 493.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.09411, allocations: 1.125 kB / 493.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002267/0.09434, allocations: 117.8 kB / 493.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.09437, allocations: 82.47 kB / 493.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.09449, allocations: 165.1 kB / 493.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.09451, allocations: 27.14 kB / 493.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.09456, allocations: 117.7 kB / 493.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.09458, allocations: 27.78 kB / 493.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.09462, allocations: 32.11 kB / 493.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.09467, allocations: 322.2 kB / 494.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.09472, allocations: 24.92 kB / 494.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.09477, allocations: 48.28 kB / 494.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.0949, allocations: 131.6 kB / 494.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.09491, allocations: 0 / 494.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001538/0.09507, allocations: 147.1 kB / 494.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.0951, allocations: 29.7 kB / 494.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.09511, allocations: 8.125 kB / 494.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.09513, allocations: 3.938 kB / 494.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.09519, allocations: 19.98 kB / 494.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.0952, allocations: 4.062 kB / 494.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.09524, allocations: 11.89 kB / 494.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.09526, allocations: 4 kB / 494.6 MB, free: 5.352 MB / 350.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 6.758e-05/0.09533, allocations: 160.3 kB / 494.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.09537, allocations: 11.94 kB / 494.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.09552, allocations: 125.5 kB / 494.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.09553, allocations: 0 / 494.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.09554, allocations: 0 / 494.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.09555, allocations: 4 kB / 494.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.728e-05/0.09564, allocations: 185.6 kB / 495.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.09565, allocations: 0 / 495.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.09567, allocations: 7.984 kB / 495.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.09568, allocations: 0 / 495.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.09569, allocations: 4.188 kB / 495.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.0957, allocations: 7.938 kB / 495.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09571, allocations: 0 / 495.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.09582, allocations: 134.7 kB / 495.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.09585, allocations: 89.02 kB / 495.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.09587, allocations: 3.938 kB / 495.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.09589, allocations: 4 kB / 495.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.09593, allocations: 7.984 kB / 495.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.09594, allocations: 4 kB / 495.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.052e-05/0.096, allocations: 123.8 kB / 495.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09601, allocations: 3.938 kB / 495.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.09622, allocations: 27.94 kB / 495.5 MB, free: 4.344 MB / 350.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.0001102/0.09634, allocations: 115.2 kB / 495.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.0965, allocations: 111.3 kB / 495.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.09651, allocations: 0 / 495.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.09655, allocations: 79.33 kB / 495.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.09676, allocations: 10.25 kB / 495.8 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.09715, allocations: 267.4 kB / 496.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.792e-05/0.09726, allocations: 0.704 MB / 496.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.09732, allocations: 27.36 kB / 496.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09733, allocations: 0 / 496.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of Templates: time 0.002594/0.09993, allocations: 1.361 MB / 498.2 MB, free: 1.59 MB / 350.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_2/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: 6.487345391884446]