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.0009891/0.0009891, allocations: 84.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001097/0.001097, allocations: 173 kB / 23.36 MB, free: 1.133 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.9658/0.9658, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.05152/0.05152, allocations: 12.65 MB / 272.9 MB, free: 404 kB / 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.162e-06/1.162e-06, allocations: 0 / 293.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.856e-05, allocations: 6 kB / 293.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SingleTC): time 0.001768/0.001786, allocations: 1.052 MB / 294.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.002559, allocations: 393.6 kB / 295.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.002664, allocations: 6.469 kB / 295.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.002828, allocations: 45.95 kB / 295.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.003057, allocations: 52.88 kB / 295.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.003325, allocations: 123.5 kB / 295.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.003614, allocations: 316.1 kB / 295.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.003664, allocations: 14.31 kB / 295.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.00386, allocations: 208.4 kB / 295.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.003937, allocations: 27.23 kB / 295.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.003952, allocations: 7.406 kB / 295.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.004101, allocations: 74.58 kB / 296 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.004158, allocations: 27.17 kB / 296 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.004186, allocations: 16.12 kB / 296 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.004353, allocations: 106.4 kB / 296.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004354, allocations: 1.125 kB / 296.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004355, allocations: 0.6562 kB / 296.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.004359, allocations: 0 / 296.1 MB, free: 11.26 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.0002733/0.004632, allocations: 337.6 kB / 296.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.004661, allocations: 11.25 kB / 296.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.004706, allocations: 15.61 kB / 296.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.004813, allocations: 133.3 kB / 296.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.004829, allocations: 7.75 kB / 296.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.004838, allocations: 5 kB / 296.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.004953, allocations: 148.5 kB / 296.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.004961, allocations: 4.875 kB / 296.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.00497, allocations: 5.531 kB / 296.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.004975, allocations: 2.188 kB / 296.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.005023, allocations: 55.73 kB / 296.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.005361, allocations: 0.5439 MB / 297.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.716e-05/0.005458, allocations: 67.28 kB / 297.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.005478, allocations: 42.5 kB / 297.5 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.005488, allocations: 2.062 kB / 297.5 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.005503, allocations: 40.06 kB / 297.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.005505, allocations: 3.938 kB / 297.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001188/0.005623, allocations: 141.7 kB / 297.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/0.005641, allocations: 79.7 kB / 297.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.005718, allocations: 162.5 kB / 297.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.005724, allocations: 26.83 kB / 297.9 MB, free: 9.574 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.005755, allocations: 113.3 kB / 298 MB, free: 9.469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.005765, allocations: 22.7 kB / 298.1 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.005801, allocations: 33.23 kB / 298.1 MB, free: 9.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.734e-05/0.005828, allocations: 325.2 kB / 298.4 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.005849, allocations: 36.55 kB / 298.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.005879, allocations: 80.19 kB / 298.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.258e-05/0.005942, allocations: 123.8 kB / 298.6 MB, free: 8.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005944, allocations: 1.156 kB / 298.6 MB, free: 8.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.1e-05/0.006035, allocations: 136.3 kB / 298.8 MB, free: 8.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.006056, allocations: 33.58 kB / 298.8 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.00606, allocations: 4.906 kB / 298.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.006072, allocations: 3.594 kB / 298.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.006117, allocations: 15.36 kB / 298.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.00612, allocations: 5.797 kB / 298.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.006147, allocations: 20.55 kB / 298.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.006158, allocations: 3.797 kB / 298.9 MB, free: 8.719 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 5.416e-05/0.006212, allocations: 153.8 kB / 299 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.006234, allocations: 9.391 kB / 299 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.006331, allocations: 123.8 kB / 299.1 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.006333, allocations: 1.25 kB / 299.1 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.006336, allocations: 0.5156 kB / 299.1 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006338, allocations: 48 / 299.1 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.368e-05/0.006402, allocations: 94.36 kB / 299.2 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.006403, allocations: 0 / 299.2 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.006416, allocations: 8.688 kB / 299.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006418, allocations: 0 / 299.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-06/0.006422, allocations: 1.469 kB / 299.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.006423, allocations: 1.828 kB / 299.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006424, allocations: 256 / 299.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.294e-05/0.006487, allocations: 149.1 kB / 299.4 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.006497, allocations: 12.05 kB / 299.4 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.00651, allocations: 2.047 kB / 299.4 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.177e-05/0.006522, allocations: 5.281 kB / 299.4 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.00654, allocations: 3.938 kB / 299.4 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.006544, allocations: 5.609 kB / 299.4 MB, free: 8.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.378e-05/0.006578, allocations: 43.86 kB / 299.5 MB, free: 8.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006578, allocations: 0 / 299.5 MB, free: 8.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001382/0.006716, allocations: 25.11 kB / 299.5 MB, free: 8.172 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 9.684e-05/0.006813, allocations: 102.2 kB / 299.6 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.726e-05/0.00691, allocations: 154 kB / 299.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.006913, allocations: 1.188 kB / 299.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-05/0.006938, allocations: 103.9 kB / 299.8 MB, free: 7.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.652e-05/0.007025, allocations: 17.72 kB / 299.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.007316, allocations: 266.9 kB / 300.1 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.422e-05/0.00734, allocations: 67.34 kB / 300.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.358e-05/0.007404, allocations: 34.98 kB / 300.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.007458, allocations: 74.59 kB / 300.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.007459, allocations: 3.938 kB / 300.3 MB, free: 7.484 MB / 266.7 MB Notification: Performance of Templates: time 0.002566/0.01002, allocations: 0.9772 MB / 301.3 MB, free: 7.355 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 -s gbode -gbm=radauIIA3 -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.6347272037528455]