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.001533/0.001533, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001699/0.001699, allocations: 217.2 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.347/1.347, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.0773/0.0773, allocations: 16.95 MB / 330.1 MB, free: 2.176 MB / 254.1 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: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.89 kB / 460.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.1009, allocations: 57.62 MB / 0.5064 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SingleTC): time 0.002198/0.1031, allocations: 1.009 MB / 0.5074 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008001/0.1039, allocations: 371.2 kB / 0.5077 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.104, allocations: 11.88 kB / 0.5077 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.1042, allocations: 51.62 kB / 0.5078 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.1045, allocations: 51.7 kB / 0.5078 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.1047, allocations: 127.8 kB / 0.508 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.105, allocations: 303.4 kB / 0.5083 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.819e-05/0.1051, allocations: 16.58 kB / 0.5083 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1053, allocations: 151.5 kB / 0.5084 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.1053, allocations: 47.53 kB / 0.5085 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1054, allocations: 4 kB / 0.5085 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1055, allocations: 67.86 kB / 0.5085 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.1056, allocations: 23.86 kB / 0.5086 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.1056, allocations: 23.8 kB / 0.5086 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1058, allocations: 123.5 kB / 0.5087 GB, free: 5.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1058, allocations: 4 kB / 0.5087 GB, free: 5.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1058, allocations: 0 / 0.5087 GB, free: 5.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1058, allocations: 0 / 0.5087 GB, free: 5.586 MB / 382.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.0004745/0.1063, allocations: 355.5 kB / 0.509 GB, free: 5.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1063, allocations: 8.031 kB / 0.509 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.1064, allocations: 20.83 kB / 0.5091 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1065, allocations: 138.9 kB / 0.5092 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1066, allocations: 8.375 kB / 0.5092 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1066, allocations: 7.938 kB / 0.5092 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1068, allocations: 142.6 kB / 0.5093 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1068, allocations: 4 kB / 0.5093 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1068, allocations: 3.938 kB / 0.5094 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1068, allocations: 8 kB / 0.5094 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.1069, allocations: 73.61 kB / 0.5094 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.1076, allocations: 0.6103 MB / 0.51 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1078, allocations: 76.33 kB / 0.5101 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.1079, allocations: 46.69 kB / 0.5101 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1079, allocations: 0 / 0.5101 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1079, allocations: 34.55 kB / 0.5102 GB, free: 3.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1079, allocations: 7.938 kB / 0.5102 GB, free: 3.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002779/0.1082, allocations: 170.7 kB / 0.5103 GB, free: 3.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.1082, allocations: 85.05 kB / 0.5104 GB, free: 3.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1084, allocations: 171.2 kB / 0.5106 GB, free: 3.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1084, allocations: 25.7 kB / 0.5106 GB, free: 3.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.1085, allocations: 119.9 kB / 0.5107 GB, free: 3.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.1085, allocations: 15.91 kB / 0.5107 GB, free: 3.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.1086, allocations: 33.7 kB / 0.5108 GB, free: 3.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1087, allocations: 318.8 kB / 0.5111 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.1088, allocations: 53.62 kB / 0.5111 GB, free: 2.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.1089, allocations: 85.92 kB / 0.5112 GB, free: 2.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.109, allocations: 131.6 kB / 0.5113 GB, free: 2.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.109, allocations: 0 / 0.5113 GB, free: 2.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002248/0.1092, allocations: 172.9 kB / 0.5115 GB, free: 2.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.1093, allocations: 33.7 kB / 0.5115 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1093, allocations: 0 / 0.5115 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.1093, allocations: 12.06 kB / 0.5115 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.478e-05/0.1094, allocations: 15.92 kB / 0.5116 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1094, allocations: 4.109 kB / 0.5116 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.1094, allocations: 15.88 kB / 0.5116 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1094, allocations: 4 kB / 0.5116 GB, free: 2.293 MB / 382.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 0.0001191/0.1095, allocations: 143.5 kB / 0.5117 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.1096, allocations: 15.91 kB / 0.5117 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.1098, allocations: 151.3 kB / 0.5119 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1098, allocations: 3.938 kB / 0.5119 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1098, allocations: 0 / 0.5119 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1098, allocations: 4 kB / 0.5119 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.1099, allocations: 133.3 kB / 0.512 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1099, allocations: 4 kB / 0.512 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.1099, allocations: 0 / 0.512 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1099, allocations: 256 / 0.512 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1099, allocations: 4 kB / 0.512 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1099, allocations: 4.078 kB / 0.512 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/0.11, allocations: 11.91 kB / 0.512 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1101, allocations: 160.4 kB / 0.5122 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.1102, allocations: 11.89 kB / 0.5122 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1102, allocations: 4 kB / 0.5122 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.1102, allocations: 8 kB / 0.5122 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1102, allocations: 7.922 kB / 0.5122 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.1102, allocations: 4 kB / 0.5122 GB, free: 1.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1103, allocations: 123.2 kB / 0.5123 GB, free: 1.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1103, allocations: 0 / 0.5123 GB, free: 1.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1106, allocations: 20 kB / 0.5124 GB, free: 1.395 MB / 382.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.0001598/0.1107, allocations: 115.8 kB / 0.5125 GB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.1109, allocations: 166.7 kB / 0.5126 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1109, allocations: 4.25 kB / 0.5126 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.111, allocations: 101.1 kB / 0.5127 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1112, allocations: 11.94 kB / 0.5127 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.1118, allocations: 297 kB / 0.513 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.129e-05/0.1119, allocations: 88.33 kB / 0.5131 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.1119, allocations: 27.41 kB / 0.5131 GB, free: 500 kB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1119, allocations: 3.938 kB / 0.5131 GB, free: 496 kB / 382.1 MB Notification: Performance of Templates: time 0.178/0.2899, allocations: 1.348 MB / 0.5145 GB, free: 15.64 MB / 382.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/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.638780394103378]