Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.SingleTD.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.001275/0.001275, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001395/0.001395, allocations: 181 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.9325/0.9325, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.0491/0.0491, allocations: 12.66 MB / 272.9 MB, free: 380 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.DisTest.SingleTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SingleTD") translateModel(PNlib.Examples.DisTest.SingleTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SingleTD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 1.062 kB / 293.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.178e-05, allocations: 2.859 kB / 293.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SingleTD): time 0.001408/0.001419, allocations: 1.018 MB / 294.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004898/0.001909, allocations: 273.2 kB / 294.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.00198, allocations: 2.688 kB / 294.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.002117, allocations: 41.25 kB / 295 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.002313, allocations: 48.64 kB / 295 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.002425, allocations: 82.34 kB / 295.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.002628, allocations: 239.2 kB / 295.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.002673, allocations: 15.48 kB / 295.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.002828, allocations: 158.7 kB / 295.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.00288, allocations: 33.8 kB / 295.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.002897, allocations: 4.406 kB / 295.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-05/0.002943, allocations: 15.34 kB / 295.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.003003, allocations: 23.5 kB / 295.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.003032, allocations: 21.64 kB / 295.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003143, allocations: 67.75 kB / 295.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003145, allocations: 2.625 kB / 295.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003146, allocations: 0 / 295.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.003149, allocations: 0 / 295.7 MB, free: 11.66 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003043/0.003453, allocations: 339.9 kB / 296 MB, free: 11.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.003482, allocations: 9.031 kB / 296 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.003516, allocations: 17.78 kB / 296 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.003619, allocations: 139.6 kB / 296.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.003636, allocations: 10.47 kB / 296.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.00365, allocations: 9.875 kB / 296.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.003799, allocations: 162.7 kB / 296.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003807, allocations: 1.219 kB / 296.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.003815, allocations: 2.531 kB / 296.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.003821, allocations: 6.375 kB / 296.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.311e-05/0.003884, allocations: 64.94 kB / 296.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.004191, allocations: 0.6158 MB / 297 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.54e-05/0.004266, allocations: 89.98 kB / 297.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.004287, allocations: 52.44 kB / 297.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.004294, allocations: 1.375 kB / 297.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.919e-05/0.004363, allocations: 111.7 kB / 297.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.004364, allocations: 0 / 297.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.000122/0.004486, allocations: 162.8 kB / 297.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.004512, allocations: 111.3 kB / 297.6 MB, free: 9.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.004581, allocations: 167.4 kB / 297.7 MB, free: 9.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.004587, allocations: 27.05 kB / 297.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.00462, allocations: 118.5 kB / 297.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.004632, allocations: 19.22 kB / 297.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.004667, allocations: 42.41 kB / 297.9 MB, free: 9.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.922e-05/0.004697, allocations: 324.3 kB / 298.2 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.004717, allocations: 41.89 kB / 298.3 MB, free: 9.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.004751, allocations: 94.28 kB / 298.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.00484, allocations: 187.7 kB / 298.6 MB, free: 8.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.004843, allocations: 3.188 kB / 298.6 MB, free: 8.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001062/0.004949, allocations: 169.3 kB / 298.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.004967, allocations: 33.83 kB / 298.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.004972, allocations: 1.281 kB / 298.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.004985, allocations: 4.438 kB / 298.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.005042, allocations: 22.2 kB / 298.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.005048, allocations: 7.141 kB / 298.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.694e-05/0.005084, allocations: 15.06 kB / 298.8 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.005096, allocations: 6.875 kB / 298.8 MB, free: 8.793 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.T1.firingTime,T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,$whenCondition2,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,T1.enabledByOutPlaces,T1.enabledByInPlaces,$whenCondition1,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.832e-05/0.005175, allocations: 159.7 kB / 299 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.005189, allocations: 15.08 kB / 299 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.005211, allocations: 14.28 kB / 299 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005213, allocations: 5.375 kB / 299 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.005216, allocations: 5.766 kB / 299 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.005219, allocations: 1.094 kB / 299 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.005392, allocations: 371 kB / 299.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.005394, allocations: 9.188 kB / 299.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.005408, allocations: 4.109 kB / 299.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.00541, allocations: 2.062 kB / 299.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.005416, allocations: 1.922 kB / 299.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.005418, allocations: 9 kB / 299.4 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005419, allocations: 1.094 kB / 299.4 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.006e-05/0.005499, allocations: 301 kB / 299.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-06/0.005507, allocations: 9.078 kB / 299.7 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.005519, allocations: 2.016 kB / 299.7 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.005573, allocations: 17.56 kB / 299.7 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.005609, allocations: 9.828 kB / 299.7 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.005614, allocations: 1.875 kB / 299.7 MB, free: 7.965 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.97e-05/0.005644, allocations: 44.42 kB / 299.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005644, allocations: 1.031 kB / 299.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.005813, allocations: 24.98 kB / 299.8 MB, free: 7.938 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,T1.fireTime,T1.ani,T1.active,$whenCondition2,T1.firingTime,T1.delayPassed,T1.activation.active) * Number of discrete states: 2 (T1.activation.active,T1.delayPassed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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 7.812e-05/0.005891, allocations: 87.11 kB / 299.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.005998, allocations: 177.5 kB / 300.1 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.006002, allocations: 1.094 kB / 300.1 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.006043, allocations: 106.8 kB / 300.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.006206, allocations: 15.31 kB / 300.2 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.006505, allocations: 266.7 kB / 300.4 MB, free: 7.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.078e-05/0.006536, allocations: 69.23 kB / 300.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.524e-05/0.006581, allocations: 19.7 kB / 300.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.006634, allocations: 67.77 kB / 300.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.006635, allocations: 0 / 300.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of Templates: time 0.002722/0.009357, allocations: 1.144 MB / 301.7 MB, free: 7.109 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.SingleTD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.SingleTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.SingleTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.SingleTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.SingleTD.sim & ./PNlib_PNlib.Examples.DisTest.SingleTD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.SingleTD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.SingleTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.SingleTD.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.5335536510683596]